W3C home > Mailing lists > Public > www-style@w3.org > December 2000

Re: align="char"

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 4 Dec 2000 11:01:20 -0800 (Pacific Standard Time)
To: Christian Ottosson <christian.ottosson@kurir.net>
cc: www-style@w3.org
Message-ID: <Pine.WNT.4.21.0012041100240.976-100000@HIXIE.netscape.com>
On Mon, 4 Dec 2000, Christian Ottosson wrote:
> > >
> > >    TD { text-align: "." }
> > >
> > > http://www.w3.org/TR/REC-CSS2/tables.html#column-alignment
> >
> > The style has to be applied to <TD> instead of <COL>, because
> > only a few column properties are inherited to cells, right?
> 
> I don't think so. Shouldn't it be enough to write
> 
> col.amount { text-align: "." }
> 
> to align the col of class "amount"? "text-align" is inherited.

'text-align' is inherited to the children of the element. The <COL>
element has no children, it is an empty element.

There is no provision in CSS for column style resolution.

-- 
Ian Hickson                                     )\     _. - ._.)       fL
Netscape, Standards Compliance QA              /. `- '  (  `--'
+1 650 937 6593                                `- , ) -  > ) \
irc.mozilla.org:Hixie _________________________  (.' \) (.' -' __________
Received on Monday, 4 December 2000 13:58:00 GMT

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