Re: align="char"

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 UTC