简体   繁体   English

IE7中没有围绕左浮动元素的多个段落

[英]Multiple paragraphs not wrapping around left-floated elements in IE7

I have an image and a caption in a container that float left, and I have multiple paragraphs that should be wrapping around these. 我在向左浮动的容器中有一个图像和标题,并且有多个段落应该环绕它们。 I've done a jsfiddle of the basic idea, and it works everywhere I've checked except IE7 and below. 我已经完成了基本思想的jsfiddle,并且它在我检查过的所有地方都可以使用,除了IE7及以下版本。 And, of course, the client uses IE7. 并且,当然,客户端使用IE7。

It's such an elementary thing. 这是一件很基本的事情。 It's driving me nuts! 真让我发疯! What am I missing. 我想念什么。 Many thanks in advance!!! 提前谢谢了!!!

http://jsfiddle.net/BALUn/ http://jsfiddle.net/BALUn/

Try setting the style rules for p.main to width: auto; 尝试将p.main的样式规则设置为width: auto; and see if that helps. 看看是否有帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM