|
-
September 19th, 2006, 10:20 AM
#1
Html table dynamic height
What im trying to do is to get this page to expand in height to the size of the client browser. I have the header, the menubar, and the footer a specific heights but I want the content part of the table to expand to the rest of the width of the page so it is always full screen in width. Here is my code, and if someone could help me figure it out would be great. Thanks.
Code:
<style>
html,body
{
margin:0;
height:100%;
cellpadding:0;
cellspacing:0;
}
</style>
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="780">
<tr>
<td background="images/xcessivelayout_02.gif" height="231"> </td>
</tr>
<tr>
<td background="images/xcessivelayout_04.gif" height="26"> </td>
</tr>
<tr>
<td background="images/xcessivelayout_05.gif" height="100%"> </td> <!-- THIS TD/TR NEEDS TO FILL THE REST OF THE HEIGHT OF THE PAGE -->
</tr>
<tr>
<td background="images/xcessivelayout_06.gif" height="26"> </td>
</tr>
</table>
</center>
</div>
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
|