1

I have a very, i think basic, question regarding CSS with floating div objects.

i have 5 divs Div1, Div2, Div3, Div4 and Div5 and what i am trying to do is the following

  1. Div1 float to left
  2. Div2, 3, 4, 5 float to the right (in the same order, so will have Div2 displayed at the very right)
  3. have Div3 overlay on top of Div2 4 Div4 and Div5 would shift accordingly

but I am having a trouble positioning Div4 and Div5 right beside Div2 because the Div3 is still take it's place so it leaves a big white space in btw.

any suggestion?

1
  • 1
    Could you add a sketch or something showing what you want? Commented Sep 2, 2010 at 18:26

1 Answer 1

1

Is this what you're looking for? Or maybe this?

Sign up to request clarification or add additional context in comments.

1 Comment

jsbin.com/ipune4/3 is exactly what i was looking for, but i thought there would be a better way of doing it. But thanks a lot!!

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.