如何隐藏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