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

Re: [css3-multicol] column-span property

From: Giovanni Campagna <scampa.giovanni@gmail.com>
Date: Sun, 17 May 2009 17:02:33 +0200
Message-ID: <65307430905170802m482e2723j9da4396d3b640e2e@mail.gmail.com>
To: Christian Hujer <cher@riedquat.de>
Cc: www-style@w3.org
2009/5/17 Christian Hujer <cher@riedquat.de>:
> 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.

Before percentages, you probably need integers. Currently, you have
"1" or "all". I think it was deferred to Level 4.

> 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.

This is not the intended behavior of column-span. A similar result can
be achieved with the implicit creation of grid and the use of grid
units in width.

> 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.

Left is ignored for non-positioned boxes, and absolutely-positioned
boxes ignore float.

>
> 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:
> In the force if Yoda's so strong, construct a sentence with words in
> the proper order then why can't he?
>

Giovanni
Received on Sunday, 17 May 2009 15:03:11 GMT

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