Custom <ul> image bullets not showing up in Internet Explorer?
Here is the code I am using:
.customBulletList {
list-style-image: url(images/bullet.png);
}
The weird thing is tha开发者_JAVA技巧t it shows up in Firefox, Chrome, Safari, and Opera. Is this CSS property not supported in IE or something?
Thanks in advance.
it is implemented. Probably it's problem of margins, padding, that are counted wrong and put image outside visible area.
Use a background-image instead (with additional padding to the left) and set list-style to none.
I belive that IE6 does not supportlist-style-image!
Add padding-left to the ul css style. That may bring the bullets into view. Try 40px and work from there. If you put a temporary border on the ul you can see where the bullets are getting chopped.
精彩评论