The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

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