Opera:如何隐藏滚动条? (Firefox 和 IE8 中没有)
我正在不同的浏览器中测试我的页面。
Opera 在页面上放置一个垂直滚动条。我添加了一个溢出:隐藏到div(在尝试Opera之后),但滚动条仍然存在。我如何摆脱它(您不需要滚动条来查看页面)。
谢谢
I'm testing my pages in different browsers.
Opera puts a vertical scroll bar on a page. I added an overflow:hidden to the div (after trying Opera), but the scroll bar is still there. How do I get rid of it (you don't need the scroll bar to view the page).
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
尝试以下
overflow:hidden
将使滚动条消失,即使窗口大小调整也是如此。Try following
overflow: hidden
will make the scrollbars disappear even if the window is resized.要关闭默认滚动条,请进入“设置”→“首选项”→“高级”→“浏览”,停用“显示滚动条”。
To turn off the default scroll bar go in Settings → Preferences → Advanced → Browsing, deactivate “Show scrollbars”.
但遗憾的是,您无法摆脱其中一个滚动条。 Mac Opera 9.20 中必须同时具备这两种功能……在我看来,Opera 是垃圾,不要使用它,也不要为它设计。
sadly though, you can't get rid of 1 of the scroll bars. You must have both in a Mac Opera 9.20 .... IMO Opera is garbage, dont use it and dont design for it.