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

Re: Fwd: [CSS21] properties for table-column (In HTML: COL) & table-column-group (In HTML: COLGROUP) items.

From: Laurens Holst <lholst@students.cs.uu.nl>
Date: Wed, 22 Jun 2005 18:56:33 +0200
Message-ID: <42B99841.9030507@students.cs.uu.nl>
To: Orion Adrian <orion.adrian@gmail.com>
Cc: www-style@w3.org

Orion Adrian wrote:

>Shouldn't the solution closely match the congnitive map that people
>use in their head? They don't style nth-child's, they style columns.
>This kind of thing is why a lot of people have trouble initially with
>CSS and even non-intially.
>  
>
Well, I wouldn’t go as far as saying that.

But it would be better to remove the restriction on properties you can 
set on table columns. It is beneficial to be able to target specific 
table columns using e.g. a class selector. After all, the location of a 
specific column row may not be fixed, for example the class="date" 
column may be the second in one table and the fourth in another, yet you 
would want to style them similarly. This helps defining generic CSS 
styles for tables (as opposed to a specific style for each table).

The logic is already there for other properties such as width, so I 
don’t see why it couldn’t be allowed for other properties as well.

So, +1 from me! Perhaps this could even go into CSS 2.1, if browser 
vendors implement it quickly :).


~Grauw

-- 
Ushiko-san! Kimi wa doushite, Ushiko-san!!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Laurens Holst, student, university of Utrecht, the Netherlands.
Website: www.grauw.nl. Backbase employee; www.backbase.com.
Received on Wednesday, 22 June 2005 16:56:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:37 GMT