阅读背景:

防止块元素的背景在浮动内容后面流动

来源:互联网 

I have a block element floated to the left with various block elements to the right of it. These non-floated elements have backgrounds on them which are showing behind the floated element. I'd like to prevent that from happening. Normally I'd achieve this with a margin-left on the elements but I'd like the elements which are below the floated element to use the full width of the container (otherwise it'll just look like two columns with white-space beneath the floated element).I have a block element floated to the left with




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: