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

Re: Alignment property proposal

From: David Woolley <forums@david-woolley.me.uk>
Date: Wed, 23 Jan 2008 08:12:39 +0000
Message-ID: <4796F6F7.5000602@david-woolley.me.uk>
To: www-style@w3.org

L. David Baron wrote:
> CSS already has a way to center blocks, but many authors find it
> (use of 'auto' margins) confusing and/or non-intuitive.

Having two different ways of doing it would also be confusing and would 
need the interactions explaining.  In general, such tactics make it more 
difficult for people trying to override properties, because they have to 
know that they need to override both (although I think that few people 
would want to override block centering - although many might want to 
override text-align centre).

Is it possible to make the new property simply be a shorthand for margin 
auto.  (I guess the main difference between that and what people want 
might be that they want something that defaults to inherit.  However, I 
think that the real problem with margin auto is that the concept is too 
mathematical, rather than the inheritance rules.)

David Woolley
Emails are not formal business letters, whatever businesses may want.
RFC1855 says there should be an address here, but, in a world of spam,
that is no longer good advice, as archive address hiding may not work.
Received on Wednesday, 23 January 2008 08:13:25 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:33 UTC