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

Re: Alignment property proposal

From: Anne van Kesteren <annevk@opera.com>
Date: Wed, 26 Dec 2007 10:01:26 +0100
To: fantasai <fantasai.lists@inkedblade.net>, "Markus Mielke" <mmielke@windows.microsoft.com>, www-style@w3.org
Message-ID: <op.t3xp0oe064w2qv@annevk-t60.oslo.opera.com>

On Wed, 26 Dec 2007 09:44:44 +0100, Anne van Kesteren <annevk@opera.com>  
wrote:
> I think it would be good if one of these features exactly matches the  
> behavior of <center>. (I thought that was the idea behind the proposal,  
> at least for some proponents.) It seems that WebKit and Gecko have  
> implemented that as text-align:-webkit-center and text-align:-moz-center  
> respectively. Maybe we should introduce block-center as a value for  
> text-align.

As for vertical centering and horizontal centering in general, I think we  
should more seriously look into the flexible box model as featured by XUL.  
Maybe combining it with the Advanced Layout Module in some way as Roc  
suggested if that's at all feasible. I think that would solve a bunch of  
layout issues people are currently running into and hacking around using  
'float', 'position', and probably script.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Wednesday, 26 December 2007 08:59:27 GMT

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