Grow your CSS skills. Land your dream job.

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]http://img157.imageshack.us/img157/5001/demoak5.th.gif[/img]

    thanks!

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".