- From: Boris Zbarsky <bzbarsky@mit.edu>
- Date: Wed, 13 Apr 2005 11:39:27 -0500
- 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 UTC