IE7缩小到适合的错误 [英] IE7 Shrink-to-fit bug
问题描述
整个网页是另一个网站上的iframe(在这种情况下,jquery.com仅用于演示目的)。我有一个覆盖Hello World,如果你点击X它最小化它(再次点击它会打开它。)
这一切都在IE8上正常工作, Firefox,Chrome等...
但是在IE7中,它将白色背景扩展到整个宽度(见截图)。我相信这是与收缩合身或收缩包装有关。
使用IE8兼容模式测试,如果在 div.sidebar
我删除 background-color:#fff
,它是固定的。删除它对IE8 / Firefox没有明显的区别。
要摆脱IE7右侧的页面滚动条,需要设置 The entire page is an iframe onto another website (in this case, jquery.com just for demo purposes). I have an overlay "Hello World", and if you click on the X it minimizes it (click again it will open it). It all works fine on IE8, Firefox, Chrome, etc... However in IE7 it extends the white background to the entire width (see screenshot). I believe it's something to do with the shrink-to-fit or shrink-wrapping.
Testing with IE8 compatibility mode, if on To get rid of the page scrollbar on the right in IE7, you need to set 这篇关于IE7缩小到适合的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋! overflow :hidden
上和/或
div.sidebar
I remove background-color: #fff
, it's fixed. Removing it makes no visible difference to IE8/Firefox.overflow: hidden
on html
and/or body
.