【发布时间】:2016-12-09 23:39:20
【问题描述】:
我正在尝试创建一个表格,其中左列被推到顶部以适合其内容。注意右栏必须是height=300。
<table border="1" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
</tr>
<tr>
<td valign="top" width="65%">
This is my 1st cell
</td>
<td valign="top" width="35%" height="300" rowspan="3" align="right">
This is long cell
</td>
</tr>
<tr>
<td valign="top" width="65%">This is my 2nd cell</td>
</tr>
<tr>
<td valign="top" width="65%">
This is my 3rd cell
</td>
</tr>
</table>
这就是我到目前为止出来的:https://jsfiddle.net/5y33rtm3/1/
期望的结果:
【问题讨论】:
标签: html css html-table css-tables styling