CSS Equivalent of Table Rowspan with Fluid Height
Posted
by Gabe
on Stack Overflow
See other posts from Stack Overflow
or by Gabe
Published on 2010-04-09T21:33:26Z
Indexed on
2010/04/09
21:43 UTC
Read the original article
Hit count: 938
I'm trying to accomplish the following using CSS:
<table border="1" width="300px">
<tr>
<td rowspan="2">This row should equal the height (no fixed-height allowed) of the 2 rows sitting to the right.</td>
<td>Here is some sample text. And some additional sample text.</td>
</tr>
<tr>
<td>Here is some sample text. And some additional sample text.</td>
</tr>
</table>
The examples I've seen for accomplishing this utilize fixed heights or allow the content to wrap around the left column. Is there an elegant way to accomplish this using CSS?
© Stack Overflow or respective owner