0

我在一个网站上工作,该网站是http://fredsrewards.loyaltylane.com/fredsshopper。页面顶部有一个导航菜单。这些链接在 Chrome 或 Firefox 中无效,但在 IE9 中有效。该站点使用了一些 javascript 文件。我曾尝试更改 CSS 和 HTML 中的内容,但没有任何效果。该站点是使用 MVC 3 构建的。任何建议将不胜感激。先感谢您。

4

1 回答 1

1

It's because you have another div (phar_panel) on top of the navigation.

You can fix it by setting:

#m_box {
    /* rules you already have */
    position: relative;
}

#phar_panel {
    /* rules you already have */
    width: 230px;
    height:31px;
    right:30px;
    position: absolute;
}
#phar_panel img {
    /* rules you already have */
    left: 230px;
    position: absolute;
}

Also, be careful, you have more than one element with the same id (navigation) in your page!

于 2012-05-24T18:12:30.750 回答