W3C home > Mailing lists > Public > www-style@w3.org > October 2010

Re: [css3-multicol] spanning elements

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 25 Oct 2010 11:50:06 -0700
Message-ID: <AANLkTi=SFv5rH4gLuKPDeurTPCSQBy3cnXnacDpAYkcr@mail.gmail.com>
To: Alex Mogilevsky <alexmog@microsoft.com>
Cc: Håkon Wium Lie <howcome@opera.com>, "www-style@w3.org" <www-style@w3.org>
On Mon, Oct 25, 2010 at 9:51 AM, Alex Mogilevsky <alexmog@microsoft.com> wrote:
>> -----Original Message-----
>> From: www-style-request@w3.org [mailto:www-style-request@w3.org] On Behalf
>> Of Håkon Wium Lie
>> Sent: Monday, October 25, 2010 6:59 AM
>> Two issues have been raised about spanning elements:
>>    http://dev.w3.org/csswg/css3-multicol/#column-span
>> 1) does margin collapsing apply to spanning elements?
> (1) - do they have to? I expected colspans to be more like floats, and floats function perfectly well without any margin collapsing. Wouldn't it be easier to keep the model simple?

I consider that aspect of floats rather unfortunate, actually.  I've
wanted my float margins to collapse with other floats rooted to the
same element quite a lot, actually, and usually have to hack around
this lack with classes.

For example, if I just want the same separate between floats as
between the float and the border of the container, I have to twiddle
the margins, otherwise the between-float space will be twice as big.

So, I'd prefer to make spanning elements collapse margins in the way
that Hakon describes, as it seems sane and useful.

Received on Monday, 25 October 2010 18:50:56 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:40 UTC