css - 如何修复 firefox 和 chrome 中的空间?

标签 css wordpress google-chrome firefox space

我做的网站用chrome打开还不错,但是用firefox打开,菜单和内容之间有空格。 This is the website .你知道怎么修吗?本网站是在 WordPress 上开发的。所以我不知道如何解决它。 谢谢..

最佳答案

它在 mozilla 和 chrome 中看起来不错

<div style="overflow:hidden" class="container">

或者您可以使用

仅针对 mozilla
 <style type="text/css">
    @-moz-document url-prefix() {

.container{overflow:hidden  }

    }
    </style>

关于css - 如何修复 firefox 和 chrome 中的空间?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29841173/

相关文章:

javascript - Facebook JavaScript SDK 不适用于 Chrome 扩展

javascript - 在 Jquery 中实现模糊摇动

javascript - 如何在我的 wordpress 导航菜单上选择两类具有多类的 <li>?

php - 更新 Woocommerce 3 中的产品可见性

javascript - 不断收到未捕获的类型错误 : Illegal invocation?

javascript - 在 headless 服务器上运行时如何运行 angular-phonecat 教程测试

html - 了解 flex 增长

html - 定义的宽度 div 导致页面水平滚动

javascript - 修复了容器 Div 中的 Div,使其仅在到达浏览器顶部时向下滚动

php - 隐藏产品价格和添加到购物车按钮,但不隐藏 WooCommerce 中未注册用户的变体