<分区>
编辑问题以包含 desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem .这将有助于其他人回答问题。
关闭 7 年前。
<分区>
编辑问题以包含 desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem .这将有助于其他人回答问题。
关闭 7 年前。
出于某种原因,我们刚刚上线的网站无法在某些浏览器中滚动。很难复制,但我看到有人在 Mac 上使用 Chrome 无法向下滚动页面。
有人可以帮忙吗?我认为这可能是一个 z-indexing 问题,但无法确定。我注意到菜单栏有时会越过滚动条的顶部。
最佳答案
添加“高度:自动”:
body, html {
overflow-x: hidden;
height: auto;
}
编辑:你真的应该压缩你的图像和脚本等等。您的站点优化非常糟糕:https://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Frumpuspr.com%2F
关于html - 网站不会在某些浏览器上向下滚动,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32013493/