W3C home > Mailing lists > Public > www-style@w3.org > April 2006

Re: [CSS3 Text] Aligning numbers in a table column

From: L. David Baron <dbaron@dbaron.org>
Date: Thu, 13 Apr 2006 13:00:27 -0700
To: www-style@w3.org
Message-ID: <20060413200027.GA27501@ridley.dbaron.org>
On Thursday 2006-04-13 14:57 -0400, fantasai wrote:
> So I think if CSS3 Text specifies character alignment, it should allow
> the character-aligned text to be shifted as a whole left, right, or center.

A simpler alternative may be to align the character-aligned stuff as a
whole the same as the alignment of the widest non-character-aligned cell
in the column (breaking ties for widest with the first).  What to do in
that case (where the alignment of the character-aligned text isn't
specified) needs to be defined anyway, and it provides what may well be
a sufficient solution for the problem you state.

(There's a similar problem for the 'top' and 'bottom' values of
'vertical-align', and I think the spec defines things a similar way.)


L. David Baron                                <URL: http://dbaron.org/ >
           Technical Lead, Layout & CSS, Mozilla Corporation

Received on Thursday, 13 April 2006 20:00:33 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:23 UTC