How to style this table so that first column is X pixels wide and second Y pixels wide. What is the best way to style it? I guess adding class to every TD is not the way to go. Should I use COL and style it?
<table>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
</table>
Depending on your browser support requirements, you might consider styling a colgroup. For tables, I’ve always just set the
widthon thetds in the first row.