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

Suggestion for multi-column layout: pseudo-elements?

From: Kelly Miller <lightsolphoenix@gmail.com>
Date: Sun, 15 May 2005 16:07:14 -0400
Message-ID: <4287ABF2.3000008@gmail.com>
To: www-style@w3.org

I noticed a while ago that part of the multi-column layout module in CSS 
adds a bunch of properties like column-padding, column-border, and so 
on.  I was just wondering why it wouldn't be possible to create a 
pseudo-element like nth-child to cover styling columns.  It wouldn't be 
too hard to logically figure out...

If column-count isn't set, then it's asssumed to be 1.  Then one can 
simply set properties on the pseudo-elements.  Simply disallow the use 
of width, height, float, position, margins, content, and other such 
things that you don't want people to do in columns (so columns only flow 
text).  Wouldn't that be easier and more semantically correct than 
creating a bunch of properties that do things CSS already does?

http://www.mozilla.org/products/firefox/ - Get Firefox!
http://www.mozilla.org/products/thunderbird/ - Reclaim Your Inbox!
Received on Sunday, 15 May 2005 20:33:40 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:18 UTC