RE: Styling table columns--why so limited?

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 UTC