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

Re: text-align property for columns (once again) [CSS21]

From: L. David Baron <dbaron@dbaron.org>
Date: Wed, 8 Apr 2009 11:46:07 -0700
To: Reg Me Please <regmeplease@gmail.com>
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, Brad Kemper <brad.kemper@gmail.com>, "www-style@w3.org" <www-style@w3.org>
Message-ID: <20090408184607.GA19631@pickering.dbaron.org>
On Wednesday 2009-04-08 20:35 +0200, Reg Me Please wrote:
> If the chapter title was "Horizontal alignment in a cell" your
> interpretation would be true.
> But the title reads instead "Horizontal alignment in a column".
> It's that last word ("column") that makes me think those last words as
> if they were "the 'text-align' property OF THE COLUMN".
> And this is why I would call for more details in that chapter.

I think the title is the way it is because the horizontal position
of the cell is within the boundaries of the column, just as the
vertical position is within the boundaries of the row.  I agree that
it's misleading, though, both because:

 (1) the horizontal alignment is different from the vertical
     alignment in that in the vertical case, the entire cell box is
     aligned within the row, whereas the entire cell box simply
     fills the column in the horizontal case (and its contents are
     aligned within it)

 (2) it's the contents of the cell that are being aligned, not the
     cell itself (as the text says)

I think we should change "with the 'text-align' property" to "by the
value of the 'text-align' property on the cell" to clarify this, and
perhaps also change the section title from "in a column" to "of cell
contents".

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Wednesday, 8 April 2009 18:46:44 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 22 May 2012 03:46:58 GMT