Evanss
Evanss

Reputation: 23203

Floating three divs next to a fourth one

Is there a way I can have a 2 column layout, with div one, two and three on the left and div four on the right? I could achieve this by adding another div around divs one, two and three, but can it be done without adding any html?

Upvotes: 1

Views: 74

Answers (1)

stecb
stecb

Reputation: 14766

Yes, => http://jsfiddle.net/steweb/hwpJT/

put #four above others and add float:right

Upvotes: 1

Related Questions