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

RE: Alignment property proposal

From: Alex Mogilevsky <alexmog@exchange.microsoft.com>
Date: Tue, 22 Jan 2008 11:05:54 -0800
To: fantasai <fantasai.lists@inkedblade.net>
CC: "www-style@w3.org" <www-style@w3.org>
Message-ID: <04F36FB4ED0F85459AA447F72711526F012543DF0C53@DF-GRTDANE-MSG.exchange.corp.microsoft.com>

It seems you are both agreeing and disagreeing with <center> being implemented as "text-align:block-center". Do you thing that would be a good solution? Or do you agree with "text-align:block-center" but not with "text-align:true-center"?

-----Original Message-----
From: fantasai [mailto:fantasai.lists@inkedblade.net]
Sent: Tuesday, January 22, 2008 10:58 AM

> A. I like the approach of "text-align:block-center" (mentioned by Anne). I like it because
>   * text-align inherits (and <CENTER> needs inheritance)
>   * there is no issue of how 'text-align:left' interferes with 'block-align:center'
>   * the value can be defined as a precise equivalent of <CENTER>

I think your second point here is the most important.

>   * similarly, "text-align:true-center" and "vertical-align:true-middle" would give the
>     desired behavior without adding more properties to interfere with...

text-align shouldn't be affecting blocks. It should only be affecting inline
content. If we want a property for aligning blocks, it should be a separate
property. Aligning the block one way and the inline content another is very
common.

~fantasai
Received on Tuesday, 22 January 2008 19:06:14 GMT

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