Discussion:
table height 100% inside td
(too old to reply)
Agoston Bejo
2005-02-14 10:58:06 UTC
Permalink
Hi!

<table>
<tr>
<td>
<table style="height: 100%;">
...
</table>
</td>
</tr>
</table>


In this case (at least in IE 6.0) the inner table won't automatically fill
the td.
Is there a way to have it fill it?

Thx,
Agoston
Nic Roche
2005-02-15 01:39:58 UTC
Permalink
Post by Agoston Bejo
Is there a way to have it fill it?
Hi,

Make sure the cell has some contents (even a &nbsp;).

<table height="300" border="1">
<tr>
<td>
<table style="height: 100%;" bgcolor="red">
<tr>
<td>xxx</td>
</tr>
</table>
</td>
</tr>
</table>


Nic Roche
Post by Agoston Bejo
Hi!
<table>
<tr>
<td>
<table style="height: 100%;">
...
</table>
</td>
</tr>
</table>
In this case (at least in IE 6.0) the inner table won't automatically fill
the td.
Is there a way to have it fill it?
Thx,
Agoston
Loading...