Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Old 08-21-2006, 07:27 PM resize problem
Average Talker

Posts: 18
Trades: 0
Hi I have a header whocse width content is set as 100 percent as below.And including this header in other page.
Now I am accessing data from table and that table contents having more length than this header so there is some white space in right of the page.which is don't want.
to increase the leangth of header to 150 but another problem coming that when i make the window screen smaler table content size is not reduced but header size is reduced and white space again visible
relevant things in css are header jsp ar as below
1)
{
width:100%;

}

td.logotd
{
font-family:Arial,Fritiger;
font-size:20px;
font-weight:bold;
color: #D40511;
align:right;
white-space:nowrap;

2) <table class="logotable" >
<tr>
<td class="logotd"><html:img page="/images/m.gif" width="183" height="47"/></td>
<td class="logotd" >how r u</td>
</tr>


}
somsahi is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-22-2006, 01:37 AM Re: resize problem
vangogh's Avatar
Post Impressionist

Posts: 10,688
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
Could you post a link to the page? Or provide all of the code for the page? I need to see more before understanding what's going on.

The one thing I do see here is the html for your image. I think you want:

<img src="/images/m.gif" width="183" height="47" />
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 08-22-2006, 01:20 PM Re: resize problem
Average Talker

Posts: 18
Trades: 0
this is full code for header page.there is no problem in header page but whn i clude it in other page.Then it does not cover the whole breadth available and white space is there in right side.Now when i INCREASE DIV.LOGO WIDTH TO 120 THEN there is no whitespace.but when minimise the browser again white space
html page
1)
<div class="logo" >
<table class="logotable" border="0" cellpadding="0" >
<tr >
<td class="logotd" ><html:img page="/images/a.gif" width="183" height="47"/></td>
<td class="logotd" style="padding-left:0px;" > Website</td>
</tr>
</table>

for css 2)
div.logo
{
background-color:#FFCC00;
top:0px;
left:0px;
height:50px;
width:100%;






}
table.logotable
{
width:100%;

}

td.logotd
{
font-family:Arial,Fritiger;
font-size:20px;
font-weight:bold;
color: #D40511;
align:right;
white-space:nowrap;





}
somsahi is offline
Reply With Quote
View Public Profile
 
Old 08-22-2006, 01:47 PM Re: resize problem
DesignerChick4U's Avatar
Average Talker

Posts: 19
Name: My friends call me FC
Location: Kansas City, Missouri
Trades: 0
When is comes to handcoding of anykind one glitch in the entire script can make changes to a small area or the entire page also. I am also going to ask you to send me the link to the page you are building this on. I need to see exactly what it is doing just as a mechanic needs to hear the actual noise your car is making rather then you trying to imitate it, see? just copy and paste the browser address to the message when you reply that way i can go to it myself and view the source its coming from etc. PEACE
DesignerChick4U is offline
Reply With Quote
View Public Profile Visit DesignerChick4U's homepage!
 
Old 08-22-2006, 07:41 PM Re: resize problem
Average Talker

Posts: 18
Trades: 0
Hi I have solved like this as follows
But before that suppose I have url like http://localhost/som/index.jsp.How you would be able to access.I really dont know this concept so pls explain me.

I have
changed the second td class and then changed width from 100 to 120 and then created asnother class logotd2 with same data as logotd but added one attribute padding:right:135px.so thanxs for your effort.



<td class="logotd2" > Website</td>
in css


table.logotable
{
width:120%;

}
td.logotd2
{
font-family:Arial,Fritiger;
font-size:20px;
font-weight:bold;
color: #D40511;
align:right;
white-space:nowrap;
padding-right:135px;







}


somsahi is offline
Reply With Quote
View Public Profile
 
Old 08-23-2006, 01:31 AM Re: resize problem
vangogh's Avatar
Post Impressionist

Posts: 10,688
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
Glad you got things worked out.

There wasn't anyway to see that link. We were thinking the page might be online somewhere which is why we were asking. Sometimes it just helps to see what's happening when trying to debug a web page.

Sorry we couldn't be more help, but glad you were able to figure things out on your own. Hopefully next time we can be a little more helpful.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 08-23-2006, 02:14 PM Re: resize problem
Average Talker

Posts: 18
Trades: 0
Thanxs for your effort.
I pasted solution so others can also have some idea if required
somsahi is offline
Reply With Quote
View Public Profile
 
Old 08-24-2006, 08:30 AM Re: resize problem
saadatshah's Avatar
Extreme Talker

Posts: 215
Name: Syed Saadat Ali
Location: Lahore, Pakistan
Trades: 0
Its good to post solutions, when found
__________________
- -- --- ---- ----- ------ ------- ---------------
If you have knowledge, let others light their candles in it.
saadatshah is offline
Reply With Quote
View Public Profile Visit saadatshah's homepage!
 
Reply     « Reply to resize problem
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.37103 seconds with 12 queries