开发者

How do you implement CSS without to have clear:both on float left and float right

How to clear float:left & float:right on CSS

You may look an example here

The wrap id overlap to the header & search. How to fix i开发者_JS百科t without to put the clear:both


overflow:hidden on #wrap. Since you already have a width it automatically clears in IE.

http://work.arounds.org/clearing-floats/

Demo


If you're asking how to prevent the wrap from overlapping the two divs then: wrap should have the attribute overflow: auto;


You can clear floated divs with br clear="all" if you don't like clear:both

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜