I know it is possible to set an image instead of the HTML default bullets:
list-style-image: url(...);
But I havent\'t found a way how I ca
you have to/can use classes in your list items:
- Bar
CSS for images as bullets for
ul {
list-style: none;
}
li {
padding-left: 25px; /*adjust to your needs*/
}
li.bar {
background: url(img_2.png) no-repeat 0 50%;
}
li.foo {
background: url(img_1.png) no-repeat 0 50%;
}
ul {
list-style: none;
}
li a {
padding-left: 25px; /*adjust to your needs*/
display: block;
}
li.bar a {
background: url(img_2.png) no-repeat 0 50%;
}
li.foo a {
background: url(img_1.png) no-repeat 0 50%;
}