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

RE: float:center (was: Re: Alignment property proposal)

From: Alan Gresley <alan1@azzurum.com>
Date: Fri, 28 Dec 2007 04:12:58 -0700
To: Patrick Garies <pgaries@fastmail.us>
cc: www-style@w3.org
Message-ID: <20071228041258.34b83c2f3c9bef00757a2c62c0fb7450.104fd2a7cd.wbe@email.secureserver.net>

Patrick Garies wrote:

> Alan Gresley wrote:
> > Another test case using negative margins on a container to achieved some balance at various intervals when resizing the width of the viewpoint. This is how would believe center floated boxes would behave.
> >
> > http://css-class.com/test/demos/thumbgallery2.htm
> 
> Can't this effect already be achieved with display: inline-table or 
> display: inline-block combined with text-align: center?

Yes, both inline-table and inline-block work with text-align:center. So the use case I have given is poor example for both the float:center and horizontal-align:center proposals.

Alan

http://css-class.com/
Received on Friday, 28 December 2007 11:13:24 GMT

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