How is it unreliable?
And you can simplify this a lot by writing:
Code:
<table>
<col class="col1" />
<col class="col2" span="20" /> <!-- change the number to the number of columns to which the same styles should apply -->
<tbody>
…
…
As far as I know the width attribute isn’t actually deprecated in the current standards specification (HTML 4.01/XHTML 1) but it’s not present in the HTML 5 working draft, and in my opinion it’s good practice to separate styling from the structure so it’s better to use CSS for applying the width to the columns, for which I have added the classes.
Code:
.col1 {width: 200px;}
.col2 {width: 70px;} /* should apply to all individual columns that are defined by the value of the span attribute */