0
我可以基于列索引为表中的每列设置css中的宽度属性吗?即基于索引将宽度属性分配给表中的列
table column_with_index_[0] {
width: 100px;
}
table column_with_index_[1] {
width: 200px;
}
...
在我的.css?
只有一个简单的表结构
<table>
<tbody>
<tr>
<th></th>
<th></th>
</tr>
<tr>
<td></td>
<td></td>
</tr>
</tbody>
</table>
等.. ?