trying to replace unordered list bullets with simple images. i've styled the css properly

.checkmark ul  {
  list-style-image: url(files/nl-images/2005/checkmark.png);
  }

(also tried a transparent gif)

and have the list class'd properly.

all i get is the stinkin' bullets. is there something extra needed for Drupie? i can't find anything on this.

merci

Comments

slower’s picture

Nothing else should be needed. Verify that the path to that checkmark image is correct and that no other styles are overriding this one. You can try adding "!important" to the end of the line and see if that helps:

list-style-image: url(files/nl-images/2005/checkmark.png) !important;

It would also be helpful if you included the HTML snippet that this related to.

t4him’s picture

Just an observation . . .

The path to your image is 'files/nl-images/2005/checkmark.png'.

What is 'nl-images'? Or did you mean 'ul-images' for unordered list images?

Otherwise it should work. If it does not just put the image file in your root and refere to as 'checkmark.png'

hope that helps

dtan’s picture

Assuming the path is correct, you could also change the background of the li element. list-style: none. and just add a padding-left. . .

dtan
--------------------------------------------------------------
Personal Blog Site | JC Cafe | CSSS