为什么我的网页不能在Internet Explorer 8中滚动? [英] Why doesn't my webpage scroll in Internet Explorer 8?

查看:132
本文介绍了为什么我的网页不能在Internet Explorer 8中滚动?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我花了大量时间编写和设计这个网页,它在我测试过的每个浏览器中都能很好地运行:IE7,IE9,Firefox,Chrome,Safari。但是当我在IE8中查看网页(并且只有IE8)时,垂直滚动被禁用。滚动条就可以了,但它已关闭,我无法使用它或鼠标滚轮。

So I've spent a significant amount of time coding and designing this webpage, and it works perfectly in every browser I've tested it in: IE7, IE9, Firefox, Chrome, Safari. But when I view the webpage in IE8 (and only IE8), the vertical scroll is disabled. The scroll bar is there all right, but it's turned off and I can't use it or the mouse scroll wheel.

我会发布网页的代码如果我绝对不得不这样做,但首先我想知道是否有人曾经听过这种情况,或者有任何初步的想法。

I'll post the code for the webpage if I absolutely have to, but first I wanted to see if anyone had ever heard of this happening before or had any initial thoughts.

推荐答案

好的,我想出来了。如果您在页面的CSS样式表的 html 标记中放置 height:100%; ,它将会破坏滚动在IE8中,但其他浏览器仍然可以工作。去图。

Okay, I figured this out. If you put height: "100%"; in the html tag of your page's CSS stylesheet, it will break scrolling in IE8, but other browsers will still work. Go figure.

这篇关于为什么我的网页不能在Internet Explorer 8中滚动?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆