我怎么能隐藏这些点

ane*_*yzm 4 css

如何在IE7中隐藏每张图片附近的小点?
http://www.sanstitre.ch/drupal/portfolio?tid[0]=38

我试过了text-decoration:none,list-style-type:none但它没有用.

谢谢.

Kyl*_*yle 16

你把list-style-typeulli

它应该是:( afaik)

ul{ 
  list-style-type: none;
}
Run Code Online (Sandbox Code Playgroud)

除此之外,我之前使用过这个:

li{
  background-image: url(); /*or link to a blank image*/
  background-repeat: no-repeat;
  background-position: left;
  padding-left: 12px;
}
Run Code Online (Sandbox Code Playgroud)

这可能不是最好的方式,但它完成了工作:)

另外试试这个:

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;
}
Run Code Online (Sandbox Code Playgroud)


Zip*_*pyV 7

这是因为

.item-list UL LI {
 ...
 list-style-type: disc;
 ...
}
Run Code Online (Sandbox Code Playgroud)

在 system.css 中定义