Is there a way to arrange the alignment of List Itemswhen using an image as a bullet?

Posted by William Calleja on Stack Overflow See other posts from Stack Overflow or by William Calleja
Published on 2010-03-26T11:11:46Z Indexed on 2010/03/26 11:13 UTC
Read the original article Hit count: 118

Filed under:
|

I have the following CSS

.ul{
    list-style-image:url(/images/bullet.png)
}

My bullet.png is 20 x 20px however it is displaying the text at the bottom of the image while I need to display my text in the middle of the image. Is there a way to assign margins and paddings that move only the text?

© Stack Overflow or respective owner

Related posts about css

Related posts about listitem