因此,我正在使用jQuery循環插件製作jQuery幻燈片。代碼如何垂直顯示一組動態生成的按鈕
部分產生幾個<input type="button">
元素與1
一個value
到i
(其中i
等於幻燈片的總數)
我試圖讓他們出現在頂部的風格這些按鈕幻燈片中的圖像。 我有這個部分確定。但是,它們在圖像上水平排列,我想在圖像上方垂直顯示它們。
我該如何去做這件事?
這是目前我的CSS是什麼樣子:
input[type=button] {
position: relative;
float: center;
padding: 10px;
left: 750px;
z-index: 1000;
}
刪除。之前和之後在你的css – 2013-03-28 04:02:33
添加顯示:塊到您的CSS,根據我的答案下面.. – lukeocom 2013-03-28 04:17:11