Click to See Complete Forum and Search --> : table 100% of page


russ801
03-13-2003, 12:15 PM
I am using a table with a background.

I would like the table to expand to fill the availble page.

AdamBrill
03-13-2003, 12:19 PM
Add this style into your table:

style="width:100%;"

Then it should work.

pyro
03-13-2003, 12:23 PM
You may also need to add a style like this <body style="margin: 0px">

russ801
03-13-2003, 12:28 PM
actually, this is in a frame and I am concerned about the length.

I assume that style="length: 100%:" works.

Thanks, I will try this in a minute

Russ

AdamBrill
03-13-2003, 12:33 PM
There isn't a length style, but I think what you want is height. So, it should be style="height:100%;"...

russ801
03-13-2003, 03:05 PM
thast seems to work. But I still get about a 1/4" of blank space at the bottom of the page. Have every margin I can think of set to 0. using ns7

I can live with it but ...

AdamBrill
03-13-2003, 03:25 PM
Try this:
<body style="margin:0;">
<table border="1" cellpadding="0" cellspacing="0" bordercolor="#111111" width="100%" height="100%">
<tr>
<td>
This is a test...
</td>
</tr>
</table>
</body>