Reputation: 907
I have used an image as my list style image for creating nice bullet points, however they are not correctly vertically aligned to the list item. I have played around with the margin and padding of the list items, but cannot vertically "correct" them. What do I need to do?
Upvotes: 0
Views: 3268
Reputation: 1220
I think you can find your answer here Adjust list style image position?
Position your image with the position properties top
, left
and then use padding to position them:
li {
background: url(images/bullet.gif) no-repeat left top;
padding: 3px 0px 3px 10px;
margin: 0;
}
Upvotes: 1