Safari 强制滚动

标签 safari css

html {overflow-y:
scroll;height:101%;overflow-y:hidden;}

为了强制滚动,当我在手机上查看我的网站时,底部被截断,但在 FirefoxF/IE 中看起来不错。

有什么想法吗?

最佳答案

应该足以说明:

html { overflow-y: scroll; }

但我也想试试

body { overflow-y: scroll; }

关于Safari 强制滚动,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/635050/

相关文章:

javascript - 在 window.onbeforeunload 中等待消息发送?

html - 列表项 Tpl 问题 : List that has not been rendered with two arrays as two columns

jquery - 如何让 3 个 div 彼此相邻对齐,以便它们位于底部和顶部 div 之间?

css - 如何正确使用网页字体?

javascript - jQuery slideUp 错误?

css 空伪类不适用于 Safari 中的动态更新

html - IE7下拉菜单问题

javascript - jQuery slider 和简单菜单在 IE6 中不显示(CSS 问题?)

渐进式网络应用程序的 iOS 默认启动 url

safari - 为什么 Coordinates 对象的 heading 属性在 mobile safari 中总是返回 null?