Forum Moderators: not2easy
CSS:
#container{float:left; background:blue; width:204px;}
.table_cell{float:left; width:100px; height:100px; background:red; border:1px solid black;}
HTML:
<div id="container">
<div class="table_cell"></div>
<div class="table_cell"></div>
<div class="table_cell"></div>
<div class="table_cell"></div>
<div class="table_cell"></div>
<div class="table_cell"></div>
</div>
I have used fixed widths here just to keep things simple.
There may be a difference in displaying between IE and other browsers due to IE getting the box model wrong. But if you don't use borders or padding there is no need to worry