Scripsit Kaushal Shah:
Why won't the following code do as expected?
Like print Top Three on the top row and bottom three in the bottom row
in that order.
On IE 7, the first three blocks and the last two blocks appear as one row,
and the fourth block below them. This is odd, and it appears to be a browser
bug. On Firefox, I get the desired table-like appearance.
In practice, if you need something really table-like, maybe you _have_ a
table and could use table markup in CSS. Otherwise, you might find
positioning easier to use consistently (setting position: relative for the
outer div and then positioning the inner div elements "absolutely"
relatively to the outer div).
Anyway, the bug seems to disappear in IE 7 if I add an artificial empty div
element after the third div element:
<div style="clear: left"></div>
--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/