【问题标题】:Sub navigation pushing up in IE9IE9 上推子导航
【发布时间】:2011-08-04 15:46:33
【问题描述】:

我在 IE9 中的水平子导航方式有问题。

此页面的导航在所有其他浏览器中都非常出色,但在 IE9 中它忽略了赋予列表项的样式并将子导航推到顶部导航。

这是我正在处理的页面的链接: http://test.shared-vision.net/menu_test.html

这里是css的链接" test.shared-vision.net/css/menuestyle.css

欢迎提出任何建议。

【问题讨论】:

    标签: css navigation internet-explorer-9


    【解决方案1】:

    根据您的规则#menu li.selected ul,您需要设置bottom 值:

    #menu li.selected ul {
        bottom: -40px; /* this will make it appear in the right place */
        display: inline;
        float: right;
        padding: 0;
        position: absolute;
        right: 0;
        width: 150%;
    }
    

    【讨论】:

      猜你喜欢
      • 2012-02-08
      • 1970-01-01
      • 1970-01-01
      • 2019-07-20
      • 2021-07-24
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多