【问题标题】:Dropdown list appearing different on firefox下拉列表在 Firefox 上显示不同
【发布时间】:2017-01-08 01:28:38
【问题描述】:

Chrome and Firefox Screenshot

网址:http://54.169.116.127/amsyt/index.php

正如我们在屏幕截图中看到的那样。菜单栏出现在 Firefox 中标题文本的后面。有没有办法让它在文本之上,比如在 chrome 浏览器中? Z 索引不起作用。 提供网站链接用于实验目的。

【问题讨论】:

  • 先生,我提供了我的网页链接,我们可以像其他人一样轻松检查编码。我现在有我的解决方案。感谢您的关心
  • 检查您的网页不是我们的工作。下次您有问题时,请给MCV,以便我们轻松为您提供帮助。

标签: jquery html css firefox


【解决方案1】:

请从 carousel-caption 和 lampontop 类的 style.css 中删除 z-index

【讨论】:

    【解决方案2】:

    在您的 css 文件中添加以下 css 规则

    .lampontop{z-index:1}
    .carousel-caption{z-index:1}
    .dropdown-menu{z-index:27}
    

    【讨论】:

      猜你喜欢
      • 2015-03-15
      • 1970-01-01
      • 2014-06-05
      • 1970-01-01
      • 1970-01-01
      • 2021-08-21
      • 2015-05-22
      • 1970-01-01
      • 2015-03-03
      相关资源
      最近更新 更多