0

IE 幻灯片在悬停时会向下颠簸。

development.legendarylion.com

任何想法为什么幻灯片在悬停时获得最高边距?

项目位于:http: //development.legendarylion.com

CSS

    div#slideshow {
    width: 947px; height: 554px;
    overflow: scroll; /* Allows the slides to be viewed using scrollbar if Javascript isn't available */
    position: relative; z-index: 5;
}

ul#slides{margin: 0; padding: 0; border: 0;list-style-type:none;}
ul#nav {margin:0; padding:0;}
div#slideshow ul#nav {
    display: none;
    list-style: none;
    position: relative; top: 250px; z-index: 15;
}
    div#slideshow ul#nav li#prev {
        float: left; margin: 0 0 0 20px;
    }
div#slideshow ul#nav li#next {
    float: right; margin: 0 20px 0 0;
}
div#slideshow ul#nav li a {
    display: block; width: 20px; height: 37px; text-indent: -9999px;
}
    div#slideshow ul#nav li#prev a {
        background: url(../img/prev-b.png);
    }
    div#slideshow ul#nav li#next a {
        background: url(../img/next-b.png);
    }

div#slideshow ul#slides {
    list-style: none;
}
    div#slideshow ul#slides li {
        margin: 0 0 20px 0;
    }
4

1 回答 1

0

似乎只在ie8及以下。您是否尝试过覆盖似乎已添加的 css 规则?举个例子

#slides li:hover
{
    margin-top:0px !important;
    top:0px !important;
    padding-top:0px !important;
}
于 2012-06-30T20:05:57.003 回答