如何隱藏IE7中每張圖片附近的小點?
http://www.sanstitre.ch/drupal/portfolio?tid[0]=38如何隱藏這些點
我試着text-decoration:none
和list-style-type:none
,但沒有奏效。
謝謝。
如何隱藏IE7中每張圖片附近的小點?
http://www.sanstitre.ch/drupal/portfolio?tid[0]=38如何隱藏這些點
我試着text-decoration:none
和list-style-type:none
,但沒有奏效。
謝謝。
這是因爲
.item-list UL LI {
...
list-style-type: disc;
...
}
在system.css定義
使用這一個
li{
display:inline;
}
比點不會在IE7中顯示。
你把list-style-type
在ul
或li
?
它應該是:(據我所知)
ul{
list-style-type: none;
}
比我以前用這個其他:
li{
background-image: url(); /*or link to a blank image*/
background-repeat: no-repeat;
background-position: left;
padding-left: 12px;
}
這也許不是最好的方式,但它能夠完成:)
工作另外也試試這個:
li.class, li.collapsed, li.expanded {
list-style-image: none;
list-style: none;
list-style-type: none;
}
ul {
list-style-image: none;
list-style: none;
list-style-type: none;
}
你可以發佈圖像或其容器的相關'CSS'和'HTML'代碼嗎?你是用'li'還是其他訂購班來顯示你的圖片? – Kyle 2010-04-30 08:18:43