I've been attempting to incorporate an image with various icons for text links in an unordered list, but I can't seem to display just one icon with some space next to it for the text. The code I have so far is:
This is my CSS:
#head_about { background: url(http://i.imgur.com/IOA8l.png) no-repeat -2px -2px; width: 9px; height: 18px; display:block; margin-left:20px; }
And this is my HTML:
<ul>
<li><a id="head_about" href="test.html" >About Us</a></li>
</ul>
If I try to add left padding, it ends up revealing more icons from the entire image. Is there a way to fix this issue?