W3C home > Mailing lists > Public > www-style@w3.org > July 2005

Re: CSS is doomed (10 years per version ?!?)

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Sat, 02 Jul 2005 00:39:40 +1000
Message-ID: <42C555AC.7010102@lachy.id.au>
To: Kris@meridian-ds.com
CC: www-style@w3.org

Kris@meridian-ds.com wrote:
> I'll even agree that there are a couple things I'd love to see implemented
> (align:center; for example would be great to apply to things like we did
> the center tag as opposed to left:50%;margin-left-1/2your px count;

What the?  Have you read Laurens' excellent FAQ?  In particular: "Why is 
there no align for blocks, instead having to use margin: auto?"
http://www.grauw.nl/articles/css-faq.php#align-for-blocks

> left:50%;margin-left-1/2your px count;

Try this instead:
margin: 0 auto;

-- 
Lachlan Hunt
http://lachy.id.au/
Received on Friday, 1 July 2005 14:39:48 GMT

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