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

Re: XPath & CSS, again

From: Boris Zbarsky <bzbarsky@mit.edu>
Date: Wed, 13 Apr 2005 11:39:27 -0500
Message-ID: <425D4B3F.7040107@mit.edu>
To: Pascal Schmitt <pascal@cebra.nu>, www-style@w3.org

Pascal Schmitt wrote:
> Speaking of tables: there should be a CSS-Selector which enables me to 
> select cells by column without knowing its position:

The problem is that the position depends on the style rules you apply to it. 
All of which has been discussed on this list before.  See also 
http://ln.hixie.ch/?start=1070385285&count=1 for a clear explanation of the 
situation here.

> But you have to know, which column (here: the 2.) it is.
>   table > tbody > td[ col(b) ] { background-color: blue; }

table > tbody > td [ col(b) ] { display: table-row }

-Boris
Received on Wednesday, 13 April 2005 16:39:37 GMT

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