开发者

Floating three divs next to a fourth one

开发者 https://www.devze.com 2023-03-06 06:25 出处:网络
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

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?


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

put #four above others and add float:right

0

精彩评论

暂无评论...
验证码 换一张
取 消