Grow your CSS skills. Land your dream job.

Div alignment problem!

  • # June 27, 2009 at 10:36 am

    The most obvious way is to make #container position: relative and then absolutely position everything inside it.
    If you insist on using floats then the only way I can see is to put block 5 inside a div with block 1 and float that left. At the moment it’s working exactly as it should, block 5 comes after block 4 in the markup so it is clearing block 4 and then floating left.

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".