My HTML structure is as follows:
<table border=1 >
<tr> <!--this tr has one <td> that needs to be 100% width-->
<td></td>
</tr>
<tr> <!--this tr has two <td> that each need to be 50% width-->
<td></td>
<td></td>
</tr>
<tr> <!--this tr has three <td> that each need to be 33.3333% width-->
<td></td>
<td></td>
<td></td>
</tr>
<tr> <!--this tr has one <td> that needs to be 100% width-->
<td></td>
</tr>
</table>
I am looking for a way to make sure that the first tr td takes up 100% width, the second tr's two tds each take up 50%, and so on... Essentially filling the td to the tr width, dividing it if there are more than one td.
Preferably without resorting to JavaScript...
update: NO! colspan