How do i get a table to occupy the entire height of the page, regardless of whether the content will not reach the bottom of the page?
Printable View
How do i get a table to occupy the entire height of the page, regardless of whether the content will not reach the bottom of the page?
height="100%" doesn't have the affect I intended :s
Do you mean you're getting that small margin around the table?
If so, in your <BODY> tag put
<body topmargin="0" leftmargin="0">
HTH
thanks, i've added that in my css but the left menu finishes halfway down the page :|
From experience, the css topmargin and leftmargin don't work. Well, for me at least. Have you tried putting it in the body tag and then checking?Quote:
Originally posted by da_silvy
thanks, i've added that in my css but the left menu finishes halfway down the page :|
Also, I'd suggest adding a couple <br>s in there :p
Perhaps that's because it's margin-top: ; and margin-left: ;? ;)Quote:
Originally posted by mendhak
From experience, the css topmargin and leftmargin don't work.
Or just if you want less lines: margin: 0px, 0px, 4px, 2px;
There's is no height attribute for a TABLE. Percentages are also not valid in TABLE attributes (although some browsers, such as IE, do support it, it contradicts the standard).Quote:
Originally posted by da_silvy
height="100%" doesn't have the affect I intended :s
However, you can use the CSS height: 100%; for a TABLE.
I'm not sure if that will make a difference for you, though.