Geoffrey Alan Colbath wrote:

> http://www.id.iit.edu/~colbath

> My styles work in IE but not in FF or Safari.
> 
> Weird.

Not really... :-)

It's just a bunch of good browsers following standards about "collapsing
margins"[1]. IE isn't good, and doesn't follow standard - especially not
when it's given a couple of 'hasLayout'[2] triggers.

The "cure": set a top padding on container, and adjust its height
accordingly...

#flag {padding: 1px 0 0 0; height: 99px;}

...and it will come out as you intended across browser-land.

regards
        Georg

[1]http://www.w3.org/TR/CSS21/box.html#collapsing-margins
[2]http://www.satzansatz.de/cssd/onhavinglayout.html
-- 
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to