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

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 UTC