cant get table to stretch to 100%

S

Steve

Hi, been trying every trick in my book to get the top table to expand
to 100% and it won't. Seems like a familar problem but can't figure it
out. I used the red background color in the body tag to hightlight the
problem. Help please? I need the table to stretch all the way to the
right so I can use a background color. Thanks....

http://home.socal.rr.com/justthefacts/
 
V

Vicki

Hi Steve...have you tried using higher figures, like 120%.

Vicki


Hi, been trying every trick in my book to get the top table to expand
to 100% and it won't. Seems like a familar problem but can't figure it
out. I used the red background color in the body tag to hightlight the
problem. Help please? I need the table to stretch all the way to the
right so I can use a background color. Thanks....

http://home.socal.rr.com/justthefacts/
 
J

Jimmy

Hi, been trying every trick in my book to get the top table to expand
to 100% and it won't. Seems like a familar problem but can't figure it
out. I used the red background color in the body tag to hightlight the
problem. Help please? I need the table to stretch all the way to the
right so I can use a background color. Thanks....

http://home.socal.rr.com/justthefacts/

Is it the top table or the bottom table ? The only place I see your
background graphic (background="bgcolor.gif") is on the bottom 20%
table. You should put it on the <body> and then let the other tables
overlay it.

Unless I missed something... which it usually the case.
 
S

Steve Easton

1. You have set the table to 100% and then reset
percentage widths in the td tags that contain the 3 images.
However the width of the images doesn't correspond with
the percentage figures you have set for them.

2. You have made the images equal a width of 800 pixels.
Even though the resolution may say 800 by 600 pixels, a 100% table
at 800 by 600 is really only 750 pixels wide so as to accommodate the scroll
bar.

So, remove the width settings in the td tags ( 20% 60% and 20 % ) and then
make the
images equal a total width of 750 pixels.

3. There is a closing div tag </div> on the page and there has never
been an opening div tag <div> used.

hth
 
S

Steve

Thanks but I got it working...The problem was with one of my other
tables that was actually below this one and was causing everything to
get pushed around funny. Things are not always what they seem...
 
V

Vicki

Great. Glad the problem got resolved.

Vicki


Thanks but I got it working...The problem was with one of my other
tables that was actually below this one and was causing everything to
get pushed around funny. Things are not always what they seem...
 
A

Andrew Murray

Steve said:
Hi, been trying every trick in my book to get the top table to expand
to 100% and it won't. Seems like a familar problem but can't figure it
out. I used the red background color in the body tag to hightlight the
problem. Help please? I need the table to stretch all the way to the
right so I can use a background color. Thanks....

http://home.socal.rr.com/justthefacts/

go to the html view and type in the size attribute < table size="100%">

or right click the table in design view and select table properties, then in the
top righthand corner, adjust the value to 100 and select percent.
 
Top