-
Jun 29th, 2003, 08:47 PM
#1
Thread Starter
Conquistador
HTML: Table height question?
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?
-
Jun 29th, 2003, 09:56 PM
#2
Thread Starter
Conquistador
height="100%" doesn't have the affect I intended :s
-
Jun 30th, 2003, 12:38 AM
#3
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
-
Jun 30th, 2003, 11:25 AM
#4
Thread Starter
Conquistador
thanks, i've added that in my css but the left menu finishes halfway down the page :|
-
Jul 1st, 2003, 12:22 AM
#5
Originally posted by da_silvy
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?
Also, I'd suggest adding a couple <br>s in there
-
Jul 2nd, 2003, 09:13 PM
#6
Stuck in the 80s
Originally posted by mendhak
From experience, the css topmargin and leftmargin don't work.
Perhaps that's because it's margin-top: ; and margin-left: ;?
Or just if you want less lines: margin: 0px, 0px, 4px, 2px;
-
Jul 2nd, 2003, 09:16 PM
#7
Stuck in the 80s
Originally posted by da_silvy
height="100%" doesn't have the affect I intended :s
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).
However, you can use the CSS height: 100%; for a TABLE.
I'm not sure if that will make a difference for you, though.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|