Timothy Martens wrote:
Philippe Wittenbergh wrote:
> OK, to fix that, clear the floats in the #container.
> Now, for the margin: by adding a margin-bottom: 12px to the
> #container AND give that container a border, it works fine
> in Moz 1.2a, Opera5.0 and IE5 mac. (moz requires that border,
> I don't know why)
Moz needs the border in Win as well. But using a border then
requires a box model hack for IE5.x.
With a little extra markup that hack is unnecessary. First put
a clearing element just before the end of #container, then add
a static div 12px high between the two containers. Or you
could just clear that div, which SHOULD do the same thing,
but I would not bet on it.
Okay it sullies the markup; but when a simple border hack
leads to needing a BMH, I draw the bord.. er, line.
"What the world needs is a good bug ring"--Big John
Do you Yahoo!?
Yahoo! News - Today's headlines