Suggestion for multi-column layout: pseudo-elements?

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