[RESOLVED] How do I get the 100% height effect for a table?

liunx

Guest
I understand how to do this by using height=100%...

(deleted)

...but what I want to do is this:

(deleted)

I don't know how to get the table to stretch from the absolute top to the absolute bottom of the browser window! Please help.It says forbidden on those linksSorry. I thought the links were public. Here are some that should work:

What I can do...
(deleted)
...and what I want to do...
(deleted)Remove the padding on the body
<body style="padding: 0;">
And the margin on the table
<table style="margin: 0;">Thanks!I'm sorry, I know I said thank you assuming that it would work, but it still doesn't display the way I wanted it to. I'm probably just doing something wrong, and would appreciate help.

Using the following code, I got the end result of the link below.

<HTML><title>example</title><HEAD></head>

<BODY style="padding: 0;">

<center>

<table style="margin: 0; height: 100%; width: 500px; background-color: #000000;">
<tr>
<td>
</td>
</tr>
</table>

</center>

</body>
</html>

(deleted)Yay! I found a website that had code that worked properly, so yes, the problem is resolved.

Thanks for your suggestions!

I am editing my previous posts with information on my domain url for privacy purposes, but will leave the pertinent information.
 
Top