通过使用colgroup 元素即可设置宽度
<table cellspacing="0" cellpadding="0"
style="table-layout:fixed;">
<tbody>
<colgroup
style="width:100px;"></colgroup>
<colgroup
style="width:205px;"></colgroup>
<colgroup
style="width:100px;"></colgroup>
<colgroup
style="width:205px;"></colgroup>
<tr>
<th
align="right">www</th>
<td
class="tab-align-l">www</td>
<th
align="right">www</th>
<td
class="tab-align-l">www</td>
</tr>
</tbody>
</table>
解决table-layout:fixed导致单元格宽度不受控制的问题,布布扣,bubuko.com
解决table-layout:fixed导致单元格宽度不受控制的问题
原文:http://www.cnblogs.com/zhenzhong/p/3580022.html