W3C home > Mailing lists > Public > www-style@w3.org > May 2009

RE: [css3-multicol] column-span property

From: Alex Mogilevsky <alexmog@microsoft.com>
Date: Mon, 18 May 2009 00:18:45 -0700
To: Christian Hujer <cher@riedquat.de>
CC: "www-style@w3.org" <www-style@w3.org>
Message-ID: <7C2F64B551D8664AAD94A28DAC37D0207384EAF7A6@NA-EXMSG-C103.redmond.corp.microsoft.com>
It's covered by new float types in http://dev.w3.org/csswg/css3-gcpm/ 

-----Original Message-----
From: Christian Hujer [mailto:cher@riedquat.de] 
Sent: Sunday, May 17, 2009 10:43 PM
To: Alex Mogilevsky
Cc: www-style@w3.org
Subject: Re: [css3-multicol] column-span property

Hi,

On 2009-05-18 Alex Mogilevsky wrote:
> Column-span prevously allowed values other than '1' and 'all' but it 
> was scaled down because of added  complexity of cases where span has 
> more columns than available.
>
> IMO the property in its current form is unnecessary. All use cases I 
> can think of are covered by either page floats in GCPM or nested 
> multicolumn elements.

Maybe I missed something about CSS3. I couldn't find how to do this:

abc def gh ij k    yz abc def ghij
lm n opq rst uv    kl mnop q r stu
wxy zab +----------------+ v wxy z
cd efgh |                | ab de f
ijk lmn | something else | ghi jkl
opqr st |                | mn opqr
v wxyza +----------------+ stuvw x
bcd ef ghij klm    yz abc def g hi
no pq rstu vw x    jklmn o p qr st

A multicolumn layout where columns flow aronud something which is placed relative to columns and spans columns across the gap.

Because I couldn't find that, I thought I'd suggest this. Maybe I missed something about page floats which is able to do that?

> -----Original Message-----
> From: www-style-request@w3.org [mailto:www-style-request@w3.org] On 
> Behalf Of Christian Hujer Sent: Sunday, May 17, 2009 7:00 AM
> To: www-style@w3.org
> Subject: [css3-multicol] column-span property
>
> Hello community,
>
>
> [CSS3COL] specifies a new property column-span to have a static, 
> non-floating element span multiple columns. I would like to see the 
> capabilities of column-span extended to:
> * Be allowed for floating boxes and maybe others as well if applicable.
> * Allow percentages.
>
> If a floating box has its column-span property set, the column-span 
> property specifies how many columns the floating box should span. For 
> a floating box, either the width or the column-span property can be 
> set. If both are set, the column-span property takes precedence. The 
> column-span property is an alternative way to set the width taking the 
> size of the column-gap into account. The effective width calculated on 
> the base of the column-span is: width := column-span * column-width + 
> floor(left + column-span / 100%) * column-gap.
>
> Examples:
> * A float with left:0%; and column-span:200%; should span two columns 
> including the gap between them. * A float with left:50%; and 
> column-span:200%; should span three columns, starting in the middle of 
> the first of those three and ending in the middle of the last of those 
> three, including two gaps between them.
>
>
> References:
> [CSS3COL] <http://www.w3.org/TR/2007/WD-css3-multicol-20070606/>
>
>
> Kind regards
-- 
 .  Christian Hujer   mailto:cher@riedquat.de  http://www.riedquat.de/

..: PGP Fingerprint: 09EB 64CC 578F 5DFD 2FD5 36E5 072B 32FE 391B C25A Random fortune:
You have acquired a scroll entitled 'irk gleknow mizk'(n).--More--

This is an IBM Manual scroll.--More--

You are permanently confused.
		-- Dave Decot
Received on Monday, 18 May 2009 07:19:28 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:18 GMT