简体   繁体   English

CSS浮动问题IE7

[英]css float issue ie7

I've had a quick butchers for an answer for this problem, but I'm in a bit of a rush and couldnt find an applicable one. 我已经有一个快速的屠夫为这个问题的答案,但我有点着急,找不到合适的。 This page: http://rock-chick.com/products/17/groovy-chick Looks fine in FF but in IE7 it looks completely wrong even though all constraints are fine. 此页面: http: //rock-chick.com/products/17/groovy-chick在FF中看起来不错,但在IE7中,即使所有约束都很好,但看起来还是完全错误的。

What could be the problem causing this? 造成此问题的原因可能是什么?

Cheers 干杯

IE7 does this with floated elements when the widths are just a little too close for it's comfort. IE7使用浮动元素来做到这一点,因为宽度太小了以至于感觉不太舒服。 I fix it just by setting the width of the offending floater just a few pixels smaller. 我只是通过将问题浮动广告素材的宽度设置为小几个像素来修复它。

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

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