[EMAIL PROTECTED] wrote:
> mystery margin behavior by both IE and FIREFOX (WINDOWS):
> 
> - http://www.fatgraffix.com/testing/css-funnymargins/
> 
> anybody know why this happens...?

Yes. It's the effect known as 'Collapsing margins'...
<http://www.w3.org/TR/CSS21/box.html#collapsing-margins>

The margins of paragraphs and headlines are escaping the container-div
and ends up "collapsed" onto each other between the divs.
Those margins are however prevented from "collapsing" by the border on
two of the divs, and are instead adding height to the divs.

regards
        Georg
-- 
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to