As a suggestion .. you can use divs as cells instead of a table, and this will happen without using JS with float css:
like this:
http://jsfiddle.net/tZt3Q/9/
HTML:
<div class="tableDivColumns"> <div>One</div><div>Tow</div><div>Three</div><div>Four</div><div>Five</div><div>six</div> <div>Seven</div><div>Eight</div><div>Nine</div> </div> <div class="tableDivRows"> <div>One</div><div>Tow</div><div>Three</div><div>Four</div><div>Five</div><div>six</div> <div>Seven</div><div>Eight</div><div>Nine</div> </div>
CSS
.tableDivColumns {border:1px solid green; padding 5px; width:160px;height:160px;} .tableDivColumns div {border:1px solid blue; width:50px; height:50px;float:left;} .tableDivRows {border:1px solid green; padding 5px; width:60px;height:470px;} .tableDivRows div {border:1px solid blue; width:50px; height:50px;float:left;}
source share