PDA

View Full Version : HTML table height problems



Roost3r
Oct 29th, 2004, 05:54 PM
my site has 3 tables one on top of another.... in my bottom table i want one of the cells to go to the bottom of the browser... when i set the height to 100% it goes too far down the page... i also tried css height.... any ideas


this is basically what i have

<table> ..... </table>
<table> ..... </table>
<table> // yes i tries making height="100%" in here
<tr>
<td height="100%"></td>
</tr>
</table>

warhammerdude20
Oct 29th, 2004, 10:10 PM
what went wrong when you used css height?

Roost3r
Oct 31st, 2004, 04:08 AM
it had the same result of going more than 100% of the browser height...

posinot
Oct 31st, 2004, 05:57 AM
<table border="1" cellpadding="0" cellspacing="0" height="100%">
<tr>
<td valign="top">
<table cellpadding="0" cellspacing="0"><tr><td>table#2</td></tr></table>
</td>
</tr>
<tr>
<td valign="top">
<table cellpadding="0" cellspacing="0"><tr><td>table#3</td></tr></table>
</td>
</tr>
<tr>
<td valign="top" height="100%">table#1</td>
</tr>
</table>