Forum Moderators: open

Message Too Old, No Replies

100% height same story different chapter (tables)

         

liquidstar

9:56 pm on Aug 6, 2004 (gmt 0)

10+ Year Member



In my personal coding and web design I've gone 100% CSS, but at work, I'm forced to use a combination of tables and CSS (no way around it, fought that battle and lost)

Here's my problem. I have a header that runs 100% horizontal that is 255 pixels high.

Below the header I have 2 tds. the one on the left needs to be 165 pixels wide. The width doesn't matter.

The 165 pixel wide td (and the one beside it) need to extend to 100% of the page vertically.

What I need to be able to do is something like 100% -255px to allow the td to roll to the bottom of the page. Any help is greatly appreciated as this is something I have to figure out despite my aforementioned disdain for tables.

Lance

12:41 pm on Aug 8, 2004 (gmt 0)

10+ Year Member



Is this what you're looking for?


<table border="1" cellpadding="0" cellspacing="0" height="100%" width="100%">
<tr>
<td colspan="2" align="center" height="255">Header</td>
</tr>
<tr>
<td width="165" valign="top">Left Side</td>
<td>Right Side</td>
</tr>
</table>