我尝试使用colgroup为表的每一列提供宽度,但它不使用effect.the示例代码
<table>
<colgroup width="100%">
<col style="width: 5%; background-color: red">
<col style="width: 15%;">
<col style="width: 25%;">
<col style="width: 20%;">
<col style="width: 10%;">
<col style="width: 15%;">
<col style="width: 10%;">
</colgroup>
<tr>
<th> no </th>
<th>Reference No</th>
<th>Vendor Name</th>
<th>Vendor Name</th>
<th>Vendor Name</th>
<th>Vendor Name</th>
<th>Vendor Name</th>
</tr>
</table>发布于 2017-02-01 08:37:49
https://stackoverflow.com/questions/41975160
复制相似问题