W3C home > Mailing lists > Public > www-style@w3.org > January 2005

Re: [CSS3] Text alignment in table cells

From: Justin Wood <116057@bacon.qcc.mass.edu>
Date: Tue, 25 Jan 2005 13:34:45 -0500
To: Ryan Cannon <ryan@ryancannon.com>,www-style@w3.org
Message-ID: <web-550763@bacon.campus.qcc.edu>

On Tue, 25 Jan 2005 13:08:13 -0500
  Ryan Cannon <ryan@ryancannon.com> wrote:
>
>I have often wondered why text-align does not apply to 
>table-column elements, such that, a table column would be 
>able to set the horizontal alignment for all of the 
>applicable cells. Is this solely a matter of difficult 
>implementation, or something else?

Difficult implementation...

a TD is not a descendant of a column, or a col-group. 
 Therefore the text-align does not descend to the TD 
itself, background-color for example works due to the 
TABLE stacking context.

~Justin Wood (Callek on moznet IRC)
Received on Tuesday, 25 January 2005 18:35:17 GMT

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