I have a bunch of boxes that are all a fixed width and a fixed height. I have them floated in a container so that they lineup nicely into rows. However, I want them centered so that when I only have one or two they'll be, well, in the center. There's no float:center as far as I know, but is there some other way to archive this? I can't make them inline elements because then i'll lose the fixed height and width, and if I make them display:block then they won't line up in the rows.You could center the container holding the floats using margin auto; however, you would not be able to center the floats within that container-- it's pick your poison, either float them left, or float them right.
Alan Trick
Best,
~david
-- de gustibus non est disputandum http://www.dlaakso.com/
****************************************************** The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************