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

Re: align="char"

From: Christian Ottosson <christian.ottosson@kurir.net>
Date: Mon, 4 Dec 2000 17:48:15 +0100 (MET)
To: <www-style@w3.org>
Message-ID: <Pine.SOL.4.30.0012041743150.21286-100000@my.nada.kth.se>
On Mon, 4 Dec 2000, Steffen Goeldner wrote:

> Ian Hickson wrote:
> >
> > On Tue, 28 Nov 2000, Steffen Goeldner wrote:
> >
> > > Example from the HTML 4.01 Spec:
> > >
> > >   <COL align="char" char=".">
> > >
> > > Is there a CSS equivalent for the HTML attributes char/align="char"?
> > > Or is this only possible with XSL?
> >
> >    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.
-- 
Christian Ottosson
http://www.sbc.su.se/~christian/
Received on Monday, 4 December 2000 11:48:29 GMT

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