开发者

Forbid divs to wrap around other divs?

开发者 https://www.devze.com 2023-04-04 06:59 出处:网络
Is there a way to forbid div wrap other div herehttp开发者_JAVA百科://jsfiddle.net/MaL5k/1/ ? But without repeating size of left div like done here http://jsfiddle.net/MaL5k/2/

Is there a way to forbid div wrap other div here http开发者_JAVA百科://jsfiddle.net/MaL5k/1/ ? But without repeating size of left div like done here http://jsfiddle.net/MaL5k/2/

It's seems obvios there should be an option to forbid div content wrap other div content and just act as it a square block.


Already found a solution: using overflow:hidden; http://jsfiddle.net/MaL5k/7/

EDIT: Doesn't work in IE6... but who cares about it anymore (=

0

精彩评论

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