Re: Alignment property proposal

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 UTC