不需要时显示浏览器水平滚动条
示例链接:(链接已删除,谢谢大家)
当页面首次加载时,我们会在浏览器底部看到一个水平滚动条。该滚动条停留约 2-5 秒然后消失。
我当前的分辨率不需要它,所以我不明白为什么它会出现。
这种情况发生在 Firefox 4、Internet Explorer 7 和 Internet Explorer 7 中。 8 这不会发生在 Google Chrome 或 Safarie 中。
有什么想法吗?
谢谢
Example link: (LINK REMOVED SOLVED THANKS GUYS)
When the page is first loading we see a horizontal scroll bar at the bottom of the browser. this scroller bar stays for like 2-5 seconds and disapears.
There is no need for it on my current resolution so i dont see why it is showing up.
This occurs in Firefox 4, Internet explorer 7 & 8
This DOESNT happen in Google Chrome or Safarie.
Any ideas?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
该问题是由页面上的某些 Javascript 引起的。如果禁用 JS,您会发现问题不会发生。
很难准确判断是哪个部分导致了问题,因为它很快就会自行恢复。我的猜测是,标题为“Événements à venir”的文本滚动条导致了问题。
The problem is being caused by some Javascript on the page. If you disable JS you'll notice that the problem doesn't occur.
It's hard to tell exactly which bit is causing the problem since it rights itself quite quickly. My guess is that it's the text-scroller with the title "Événements à venir" that's causing the issue.
我认为以下内容应该对您有帮助:
这是放置在 CSS 中的。
I think the following should help you:
This is placed in the CSS.
这是 JS 的问题。您可以使用
并确保在调整大小到小于最小宽度时显示滚动条。
It is the problem with JS.. You could use
and make sure you display the scrollbar when you resize to something less than min-width.
你可以简单地使用css3
You can simply use css3