How to hide these points?

How to hide small dots next to each picture in IE7?
http://www.sanstitre.ch/drupal/portfolio?tidpapers00=38

I tried with text-decoration:noneand list-style-type:none, but that didn't work.

Thank.

+3
source share
3 answers

It's because

.item-list UL LI {
 ...
 list-style-type: disc;
 ...
}

defined in system.css

+1
source

Have you placed list-style-typein ulor li?

It should be: (afaik)

ul{ 
  list-style-type: none;
}

Other than this, I have used this before:

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

This is probably not the best way, but it does its job :)

Additionally, try also:

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;
}
+14
source

use this

  li{
display:inline;
}

than the dot will not be displayed in IE7.

0
source

Source: https://habr.com/ru/post/1743467/


All Articles