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

RE: [css3-multicol] column-span property

From: Alex Mogilevsky <alexmog@microsoft.com>
Date: Sun, 17 May 2009 18:32:57 -0700
To: Christian Hujer <cher@riedquat.de>, "www-style@w3.org" <www-style@w3.org>
Message-ID: <7C2F64B551D8664AAD94A28DAC37D0207384EAF785@NA-EXMSG-C103.redmond.corp.microsoft.com>
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.

-----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:
In the force if Yoda's so strong, construct a sentence with words in the proper order then why can't he?
Received on Monday, 18 May 2009 01:33:38 GMT

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