How to define cell width for 2 HTML tables with different column counts?
- by DaveDev
If I have 2 tables:
<table id="Table1">
<tr>
<td></td><td></td><td></td>
</tr>
</table>
<table id="Table2">
<tr>
<td></td><td></td><td></td><td></td>
</tr>
</table>
The first has 3 columns, the second has 4 columns.
How can I define a style to represent both tables when I want Table1's cell width to be 1/3 the width of the full table, and Table2's cells are 1/4 the width of the table?