Css 我怎样才能隐藏这些点呢
如何在IE7中隐藏每张图片附近的小点?Css 我怎样才能隐藏这些点呢,css,Css,如何在IE7中隐藏每张图片附近的小点? 我尝试了文本装饰:none和列表样式类型:none,但没有成功 谢谢。用这个 li{ display:inline; } than dot不会显示在IE7中。这是因为 .item-list UL LI { ... list-style-type: disc; ... } 是在系统中定义的。css您是否将列表样式类型放在ul或li中 应该是:(阿飞) 除此之外,我以前使用过: li{ background-image: url(); /*
我尝试了
文本装饰:none
和列表样式类型:none
,但没有成功
谢谢。用这个
li{
display:inline;
}
than dot不会显示在IE7中。这是因为
.item-list UL LI {
...
list-style-type: disc;
...
}
是在系统中定义的。css您是否将
列表样式类型
放在ul
或li
中
应该是:(阿飞)
除此之外,我以前使用过:
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;
}
您始终可以向元素添加类:
- 酒吧
- 福
- 巴福
试试这个:
。隐藏{
列表样式类型:无;
}
。隐藏{
列表样式类型:无;
}
一个简单的UL
- 酒吧
- 福
- 巴福
隐藏的
- 酒吧
- 福
- 巴福
您能否发布图像或其容器的相关CSS
和HTML
代码?您是否使用li
或其他订购类来显示图像?
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;
}