CSS borders
Forget about nested tables - with CSS borders, margins and paddings you can do much-much more with less code.
You can apply them separately to cells, rows and table itself:
<table style="border: 1px solid blue">
<tr><td>Cell text</td></td>
</table>