CSS problem - attaching image to <li> tag
Posted: Mon 7. Mar 2005, 12:13
Hi
Im currently building a site with PHPWCMS and have run into an issue.
I have created a list of my clients products using the List content part.
For the bullet points I have designed an image - bullet.gif
When I create the CSS in the back end like this:
li, ul {
list-style-image: url("/images/bullet.gif");
}
the Style does not apply the graphic to the list.
But when I add the phpwcms default bullet image like this:
li, ul {
list-style-image: url("/img/article/bullet_1.gif");
}
it worked fine which is wierd.
I decided to replace the default graphic with my new one bu then browsers wont see the new graphic only the original - even on computers that havent visited the site before.
If you have any ideas how to overcome this problem that would be great
Cheers
Jimmy
Im currently building a site with PHPWCMS and have run into an issue.
I have created a list of my clients products using the List content part.
For the bullet points I have designed an image - bullet.gif
When I create the CSS in the back end like this:
li, ul {
list-style-image: url("/images/bullet.gif");
}
the Style does not apply the graphic to the list.
But when I add the phpwcms default bullet image like this:
li, ul {
list-style-image: url("/img/article/bullet_1.gif");
}
it worked fine which is wierd.
I decided to replace the default graphic with my new one bu then browsers wont see the new graphic only the original - even on computers that havent visited the site before.
If you have any ideas how to overcome this problem that would be great
Cheers
Jimmy