You are here: Re: [OT] Linux « HTML « IT news, forums, messages
Re: [OT] Linux

Posted by Ben C on 10/24/06 08:28

On 2006-10-24, dorayme <doraymeRidThis@optusnet.com.au> wrote:
[snip]
> May I rave a bit? God almighty, David Dorward is not wrong about
> centering things not being trivial, I am struggling to center a
> div in which I have a lot of little floats and I want that each
> row is centered without knowing how big anyone is going to open
> the container... The difficulty is that when there is not enough
> room on the right, they wrap to the next line and all are very
> neat but there is now a space on the right that obviously is for
> nothing.

It sounds like you want a centered, shrink-to-fit container for the
floats.

The only ways to do centered and shrink-to-fit we could come up with the
other day (see recent thread called something like "Centering a float")
are with a table or display: inline-block (or inline-table would also
work), but inline-block is not supported by FF.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация