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

Re: Alignment property proposal

From: fantasai <fantasai.lists@inkedblade.net>
Date: Thu, 27 Dec 2007 14:21:04 -0500
Message-ID: <4773FB20.90601@inkedblade.net>
To: www-style@w3.org

Garrett Smith wrote:
> On Dec 26, 2007 12:44 AM, Anne van Kesteren <annevk@opera.com> wrote:
>> On Wed, 26 Dec 2007 07:25:27 +0100, fantasai
>> <fantasai.lists@inkedblade.net> wrote:
>>> Markus Mielke wrote:
>>>> *Problem:*
>>>>  Allow centering of content within a containing block. Today, we only
>>>> have text-align: center available that only applies to text and inline
>>>> elements. This makes general centering of elements (like images) really
>>>> difficult.
> Text-align also applies to table-cell's content, though this does not
> work cross-browser:
> http://www.w3.org/TR/CSS21/tables.html#column-alignment
> 
> The nature of the spec seems (in my mind anyway) to have been to
> replace align attribute on TD with text-align. It's a problem because
> what do you do with margin: auto blocks when the TD has text-align:
> center?
> 
> http://lists.w3.org/Archives/Public/www-style/2007Dec/0018.html

Yeah, that sentence isn't correct. It should say "inline content" instead
of "content". That fix should make its way to the errata as soon as Bert
gets a chance to edit.

~fantasai
Received on Thursday, 27 December 2007 19:21:15 GMT

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