因此,我將圖像滑塊添加到我的網頁設計中,就像它現在一樣。它在IE + Chrome中運行良好,但在Firefox中我有一個非常奇怪的問題。圖像滑塊圖像被推向頁面的右側。Firefox溢出:隱藏的缺陷
當它應該是這樣的:
我真的不知道爲什麼會這樣。
這裏是滑塊的CSS:
<style type="text/css">
#slider {
position: relative;
width: 918px;
}
#slider .viewer {
position: relative;
width: 918px;
height: 200px;
overflow: hidden !important;
}
#slider .viewer .reel {
display: none;
height: 200px;
}
#slider .viewer .reel .slide {
width: 918px;
height: 200px;
}
</style>
,並用於環繞滑塊容器中的CSS:
#photobox {
border-left: 1px solid #ababab;
border-right: 1px solid #ababab;
position: relative;
width: 918px;
height: 200px;
z-index: -1;
top: -6px;
}
這是真的絆倒了我。您還可以看到該網站的實時版本 - http://simplesolutions.netne.net/