Jump to content

Image as the list-item marker


Guest Looka

Recommended Posts

Guest Looka

Heya, I'm having a problem with images as a list markers.I used this piece of code to set an image:ul {list-style-image: url('image.png');}Here is how it looks in firefox-works okfflist.jpgBut in the IE images are higher that the rest of the textielist.jpgAnyone knows what could be wrong and if there's a way to fix this?Very thanks!

Link to comment
Share on other sites

I think when I ran into that my workaround was to make the list image with some extra space on the top. Try to make the image the same size as the text (if you are using 10px font, make the image 10px high). There might also be some CSS that would center it for you though, but I'm not sure what it is.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...