Re: [CSS2.1] col attributes: XHTML and CSS inconsistency?

Quoting Brad Kemper <brad.kemper@gmail.com>:

>> That still won't help if you do:
>>
>> td:nth-col(2), td:nth-col(3) { display: block; }
>>
>> since at that point the td:nth-col(4) will actually be in the third  
>> column in the table.
>
> Would it?

Visually, yes.

> The styling would change what was selected?

No, of course not.

> I assumed it would refer to the column number of the markup.

That has to be the way it works, yes.  That's what I assumed as well.

> But the whole range of styling possibilities would apply to td:nth- 
> col(), if I am following this correctly. Right? That's kind of the  
> whole idea?

I'd think so, yes.

-Boris

Received on Tuesday, 30 December 2008 03:10:17 UTC