Forum Moderators: not2easy
I have a paeg that is using an external CSS also also importing one CSS.
The CSS is applying some images bullets on UL tag.
#contentA ul {
list-style-image: url(images/icon/icon_list_bulletA_A.gif);
}
#contentA ul li {
color: #000000;
}
#contentA ul ul {
list-style-image: url(images/icon/icon_list_bulletA_B.gif);
}
#contentA ul ul ul {
list-style-image: url(images/icon/icon_list_bulletA_C.gif);
}
How can i handle this situation
Please Help
Bunty
Do this:
#contentA ul.menu1 {
list-style-image: url(images/icon/icon_list_bulletA_A.gif);
}
#contentA ul.menu2 {
list-style-image: url(images/icon/icon_list_bulletA_B.gif);
}
#contentA ul.menu3 {
list-style-image: url(images/icon/icon_list_bulletA_C.gif);
}
Marshall
Due to a lack of support in Internet Explorer, you can use conditional comments to fallback to your standard solution as above for those browsers.
padding-left: 20px;
margin-bottom: 10px;
}
It works just fine. The extra padding-left is to allow for the fact that my custom bullets are a little larger than the default ones. if i dont have that, then the text will overlap the image.
Cheers, AJ