我有三个表table1,table2,table3全部包装在一个表中,同时向表中添加不同大小的内容,每个扩展到不同的高度,即使在添加不同大小的内容后,如何使所有三个表显示在相同的高度
HTML:
<div class="csdiv">
<table cellpadding="2" cellspacing="0">
<tr valign="top">
<td>
<table class="cstable" width="100%" height="265">
<tr height="35">
<th width="33%" nowrap>Table1</th>
</tr>
<tr>
<td valign="top" bgcolor="FFFFFF" width="275">
</td>
</tr>
</table>
</td>
<td>
<table class="cstable" width="100%" height="265">
<tr height="35">
<th nowrap width="34%" nowrap>Table2</th>
</tr>
<tr>
<td valign="top" bgcolor="FFFFFF" width="275">
</td>
</tr>
</table>
</td>
<td>
<table class="cstable" width="100%" height="265">
<tr height="35">
<th nowrap width="33%" nowrap>Table3</th>
</tr>
<tr>
<td valign="top" bgcolor="FFFFFF" width="275">
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
Run Code Online (Sandbox Code Playgroud)
CSS:
.csdiv {
font-family: 'Trebuchet MS',Tahoma,Arial,sans-serif; …Run Code Online (Sandbox Code Playgroud)