Re: cell inherit style properties from its column

Eugen.Konkov@aldec.com wrote:
>  >http://ln.hixie.ch/?start=1070385285&count=1
>  >ince you have to take into account what cells span several columns, etc.
> cells can span several rows too
> As you see in an attachment. Background works fine. So you know which 
> cell is in which column on stage 2!

No.  Backgrounds are painted in stage 4, and they are _all_ painted.  That is, 
the column background is painted, and so (separately) is the cell background. 
You can see this easily if you give the cell in your example a non-opaque 
background.

See also http://www.w3.org/TR/CSS21/tables.html#table-layers for more 
information on how table element backgrounds are painted.

> So there is no problem to inherit style for cells from columns.

This would be an incorrect conclusion (mostly because  derived from incorrect 
assumptions).

-Boris

Received on Wednesday, 17 October 2007 15:28:29 UTC