2011-03-05 486 views
0

堆疊在彼此我使用NIVO滑塊&縮略圖堆疊在彼此但問題是完全相關的CSS。縮略圖在NIVO滑塊

演示頁是http://jsbin.com/ebomu4,我似乎不能拉他們。

+0

你有什麼.nivo-controlNav的CSSS一個 – kjy112 2011-03-05 18:09:55

+0

@ kjy112不管我把,我不能讓它開始工作。 – Ashfame 2011-03-05 18:15:48

+0

首先拇指被升技太大,不適合所有在一行,因爲滑塊的寬度設置'618px'和4×150加填充和利潤率推動大拇指兩行,但我會寄我沒有。 – kjy112 2011-03-05 21:54:04

回答

0

下面是我修改,基本上拿出你以前有什麼。該演示可以在這裏觀看jsfiddle nivo-slider

.nivo-controlNav { 
    position:absolute; 
    left: 0px; //i set the navigation thumb all the way to the left because the size of your thumb + padding + margin was making it overflow to new rows 
    bottom:-350px; //setting the navControl position relative to the slide 
} 

//here is what i added 
.nivo-controlNav a { 
    display:inline; 
} 

.nivo-controlNav img { 
    display:inline; 
    position:relative; 
    margin-right:10px; 
} 

.nivo-controlNav a.active img { 
    border:1px solid #000; 
} 

我的導航設置拇指一路到左側,因爲你的拇指+填充+緣的尺寸使其溢出到新行。我還通過設置bottom:-350px;我添加設置相對滑板的navControl位置.nivo-controlNavaimg和IMG的工作狀態,使之出現了,但由於您的滑塊它溢出的寬度2行希望這有助於。

+0

謝謝,這完全是我想要的,它們不會互相堆疊在一起。 :) – Ashfame 2011-03-06 06:57:00

+0

歡迎您;-) – kjy112 2011-03-06 06:58:16