css - Firefox 滚动条但在 Chrome 上没有

标签 css wordpress firefox google-chrome

我很难找到我在这个网站上哪里有 CSS 错误。在 Firefox 上,它显示向右滚动,但在 Chrome 上,它看起来不错。我在想 overflow:hidden; 但我似乎找不到把它放在哪里。

这是网站:http://www.llmedia.co/

欣赏!

最佳答案

问题出在您的页脚中。您的整个页面宽度为 960px。但是页脚 ul 宽度是 1100px。所以在小屏幕上,您的站点将在右侧有一个滚动条。同样的结果也会发生在 firefox 浏览器中。因此,将页脚宽度减小到 960px,您的滚动条就会消失!

#footer ul { width: 960px; }

关于css - Firefox 滚动条但在 Chrome 上没有,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10308302/

相关文章:

php - WordPress 中用户元的保留键 - 关于我

jquery - $ 未在 Firefox 中使用 jQuery 定义

javascript - 如果不活动,Firefox 会随机关闭 XMLHttpRequest 连接。为什么?

jquery - 基本的 Jquery slider 修改

html - 显示 :flex for the Inernet explorer? 的最佳替代方案是什么

javascript - jQuery addclass 和 removeclass 按顺序从子到父和反向

html - anchor 标签比它持有的元素大

WordPress : Add a custom field directly above the title input field (w/o modifiying core files)?

php - 仅当容器重新启动时,本地更改才会传播到 docker 容器

javascript - iframe contentDocument 在 chrome 和 firefox 中的行为