2015-06-02 113 views

回答

0

添加以下属性为UL

#slideshow ul { 
    font-size: 14px; 
    margin-top: -50px; 
    position: relative; 
    z-index: 99; 
    margin-bottom: 40px; 
} 
+0

感谢您的帮助:) – clement

0

添加以下代码

#slideshow ul.centered-btns_tabs{ 
    position: relative; 
    margin-top: -10px; 
    margin-bottom: -10px; 
    top: -45px; 
    z-index: 999; 
} 

center aligned dots

+0

谢谢。不知道为什么,我添加了CSS,但它不起作用 – clement

+0

对不起,我的坏。已编辑的代码 - “ul .centered-btns_tabs”被读为“ul.centered-btns_tabs”。 我没有使用'#slideshow ul',因为#slideshow里面有2个'ul'。 上面的解决方案因其他ul元素中的余量重置而工作。它更好地添加类。 –

+0

太棒了!非常感谢:) – clement