W3C home > Mailing lists > Public > www-style@w3.org > December 2015

[css3-box] Collapsing Margins - Odd Behaviour

From: Axel Dahmen <brille1@hotmail.com>
Date: Wed, 9 Dec 2015 13:17:28 +0100
To: www-style@w3.org
Message-ID: <n49653$rbf$1@ger.gmane.org>
The current definition of collapsing margins yields a number of unexpected 
results 
(http://stackoverflow.com/questions/2680478/margin-top-push-outer-div-down).

I believe to remember the original idea of collapsing margins to be 
constrained to a bottom and a following top margin to be the only part of 
collapsing, but not a top margin with another top margin.

What's the idea behind having unrelated margins collapse? 
Received on Wednesday, 9 December 2015 12:19:08 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:58 UTC