grisevg
grisevg

Reputation: 250

Forbid divs to wrap around other divs?

Is there a way to forbid div wrap other div here http://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.

Upvotes: 0

Views: 184

Answers (1)

grisevg
grisevg

Reputation: 250

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

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

Upvotes: 3

Related Questions