【发布时间】:2012-03-19 16:18:55
【问题描述】:
我有一个table,表格布局已修复。表中有 2 列。
如果我为第一行设置colspan=2,那么对于其余行,它显示相同的宽度。 (它没有采用我指定的宽度。)
附上小提琴here
<table style='table-layout:fixed' border="1" width="100%">
<thead>
<tr>
<th colspan='2'>10000</th>
</tr>
<tr>
<th width="5%">1066fdg</th>
<th width="95%">10</th>
</tr>
</thead>
</table>
还有没有为剩余的行设置指定的列宽?
【问题讨论】:
标签: css tablelayout