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

Re: [css3-multicol] column-span property

From: Christian Hujer <cher@riedquat.de>
Date: Mon, 18 May 2009 07:43:19 +0200
To: Alex Mogilevsky <alexmog@microsoft.com>
Cc: "www-style@w3.org" <www-style@w3.org>
Message-Id: <200905180743.26586.cher@riedquat.de>
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 06:36:40 GMT

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