jussa
08-16-2006, 02:33 AM
ok, so heres my table html...
<table style="border:0px;width:100%;height:100%;" cellpadding="0" cellspacing="0">
<tr>
<td style="vertical-align:top;width:100%"><UIControl:UIHeader runat="server" ID="UIHeader" /></td>
</tr>
<tr>
<td style="vertical-align:top;width:100%"><UIControl:UISubMenu runat="server" ID="UISubMenu" /></td>
</tr>
<tr>
<td style="width:100%;height:100%;vertical-align:top;background-color:#666666;">
hihi
</td>
</tr>
</table>
my body is formatted with the follow css
html,body
{
margin:0px;background-color:#FAFAFA;height:100%;
}
what i was expecting was the "hihi" cell to take up the remainder of the page, instead, it has scrollbars, that when u scroll to the bottom, its looks like only the "hihi" cell is there, what i want is for hihi cell to take up the remainder of the height left over from the two rows above it, so that the default is there is no initial scroll bars, and i dont want to use the overflow-y:hidden; because some pages will need to scroll, others wont...
i guess what im going for is a menu on the left hand side that will reach the bottom of the page, scrollbars or no scrollbars..
Thanks, Justin
<table style="border:0px;width:100%;height:100%;" cellpadding="0" cellspacing="0">
<tr>
<td style="vertical-align:top;width:100%"><UIControl:UIHeader runat="server" ID="UIHeader" /></td>
</tr>
<tr>
<td style="vertical-align:top;width:100%"><UIControl:UISubMenu runat="server" ID="UISubMenu" /></td>
</tr>
<tr>
<td style="width:100%;height:100%;vertical-align:top;background-color:#666666;">
hihi
</td>
</tr>
</table>
my body is formatted with the follow css
html,body
{
margin:0px;background-color:#FAFAFA;height:100%;
}
what i was expecting was the "hihi" cell to take up the remainder of the page, instead, it has scrollbars, that when u scroll to the bottom, its looks like only the "hihi" cell is there, what i want is for hihi cell to take up the remainder of the height left over from the two rows above it, so that the default is there is no initial scroll bars, and i dont want to use the overflow-y:hidden; because some pages will need to scroll, others wont...
i guess what im going for is a menu on the left hand side that will reach the bottom of the page, scrollbars or no scrollbars..
Thanks, Justin