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

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 UTC