[thelist] Table Alignment Problems

Mark Howells mark at mountain.ch
Tue Feb 26 15:56:01 CST 2002


> I'm stumped as to how to automatically stretch a table vertically so
> that it
> has the same height as 2 tables stacked beside it.

"Height" is not a valid HTML table attribute, so any attempts to set the
height will fail in newer browsers (specifically IE6 and NN6 onwards).
The only suggestion I could make is:

<table>
<tr>
<td></td>
<td>
<table><tr><td></td></tr></table>
<table><tr><td></td></tr></table>
</td>
</tr>
</table>

There's no point suggesting CSS for this, as you can't set the height of
a block element in CSS either!

Regards
Mark Howells
<http://www.mark.ac/evl/>




More information about the thelist mailing list