Is there a way to arrange the alignment of List Items (LI) when 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:23 UTC
Read the original article
Hit count: 138
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