All Posts by Email, Once a Week

Media Temple logo

CSS-Tricks is brought to you in part by Media Temple, the web hosting that we both use and recommend.

centering floating n divs?

  • # July 22, 2008 at 5:23 am

    hi, is the following possible?

    the parent div is set to height: 50px; (width: 100%) and overflow: hidden;

    inside are horizontally floated divs. is it possible to make them horizontally centered, even when the window’s size changes and the overflow kicks in and some divs become hidden? :oops:

    demo: [img][/img]


Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed