RE: Alignment property proposal

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 UTC