Re: Issue with margin-collapse-clear-012.htm and margin-collapse-clear-013.htm

HI Alan,

On 28 October 2013 14:27, Alan Gresley <alan@css-class.com> wrote:
> Sometimes it helps to have a peak (see below code) to understand where
> something is located if it could seen. The self-collapsing-with-clearance
> element does not have any collapsing margins.
>

That seems like a controversial suggestion, the div is clearly
self-collapsing so must have a collapsed margin value of 0. Can you
explain why its top and bottom margins do not collapse with each
other?

 <div id="self-collapsing-with-clearance" style="clear:
both;margin-top: -40px; margin-bottom:40px;"></div>

Received on Monday, 28 October 2013 15:43:35 UTC