I am trying to create the following table layout, but I want to use DIV instead of TABLE:
------------------ | | | | CELL1 | CELL2 | | |
You could use display:inline-block instead of float. Just set widths of about 50% (adjust depending on padding, margins and borders) for the left and right containers and make them inline-block.
display:inline-block
float
Here is my jsFiddle