I am trying to set custom image as a bullet. when i am using background or background-image tag it is work but not align properly with list category. And when i am using list-style-image it is not displaying the image as a bullet.
Problem :
Css
Firebug
Image is also displaying in firebug when i move my mouse over on it
Wrong final output
Solution :
Correct Output what i want
css
property into.vMenu li
and check it outlist-style-type: none; width:19px; height:19px;
– Equuleusbackground:url(...);
instead oflist-style-image:url(...)
– Equuleusli
, positionedleft
center
withx
px of padding left. Can't say I've usedlist-style-image
before – Catapultbackground: url('/image/arrow.png') no-repeat left center;
On theli
. Try setting the height of the li to the height of your arrow (19px) and use the line-height to center the text. – Catapultheight
andwidth
parent<div></div>
part. Then set the image also like this way..background:url('...') no-repeat top left;
– Equuleus