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

RE: Styling table columns--why so limited?

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 5 Apr 2004 16:34:35 +0000 (UTC)
To: Matthew.van.Eerde@hbinc.com
Cc: www-style@w3.org
Message-ID: <Pine.LNX.4.58.0404051631280.10470@dhalsim.dreamhost.com>

On Mon, 5 Apr 2004 Matthew.van.Eerde@hbinc.com wrote:
>
> The mythical row="" and column="" attributes for the td tags would need
> to be calculated in another pass.  But this would allow author
> column-styling along the lines of
>
> #exampletable td[column=~3]
> {	font-weight: bold;
> }

This wouldn't work; it suffers from the same problem as the current model.

You need to do the cascade before you know what is a table, cell, row,
etc. With your model, how would you know what is a cell?

See http://ln.hixie.ch/?start=1070385285&count=1 for details.

-- 
Ian Hickson                                      )\._.,--....,'``.    fL
U+1047E                                         /,   _.. \   _\  ;`._ ,.
http://index.hixie.ch/                         `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 5 April 2004 12:34:37 GMT

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