2012-11-05 41 views
0

我有一個HTML無序列表元素應該沒有顯示的項目符號點(我正在使用我自己的圖像的項目符號點)。無序列表元素顯示子彈時,它不應該

我的問題:默認的黑色圓點出現在UL應該沒有的時候。 enter image description here

website是一個Dot Net Nuke運行網站,它看起來像皮膚CSS是造成這個錯誤。你知道我怎麼能阻止後面的子彈出現嗎?

我的CSS:

.infoTab ul { 
    list-style-type: none; 
    list-style-position: outside; 
    margin-left: 15px; 
    padding: 0px; 
} 

.infoTab li { 
    background-image: url("../../Site Images/headingIcon.png"); 
    background-position: 0px 2px; 
    background-repeat: no-repeat; 
    padding-left: 30px; 
} 

回答

3

skin.css 281線你有

ul li { 
    list-style-position: outside; 
    line-height: 1.2em; 
    list-style-type: disc; 
} 

然後default.css線104

ul li { 
    list-style-type: square; 
} 

,它覆蓋

.infoTab ul { 
    list-style-type: none; 
    list-style-position: outside; 
    margin-left: 15px; 
    padding: 0px; 
} 
+0

謝謝,雖然我已經從skin.css中刪除了列表樣式類型屬性,它仍然顯示子彈?任何想法是什麼導致它? –

+0

@JakeM查看更新 – Musa

相關問題