Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/37.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Css 我怎样才能隐藏这些点呢_Css - Fatal编程技术网

Css 我怎样才能隐藏这些点呢

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(); /*

如何在IE7中隐藏每张图片附近的小点?

我尝试了
文本装饰: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;
}