I have a class that has both a background image and text, I'm trying to find a way to manipulate the space above the text only using the "margin" tag, will change the position of the whole object (image + text), I only need to control the text.
text-indent gives me some control over the horizontal spacing, I need something to have more control over the space above and below the text, only if such a thing exists.
Here's the CSS class:
.contactb { float:left; margin:0 5px 0 0; padding:0 0; background:url(images/contact_b.png) top no-repeat; display:block; width:108px; height:57px; font-family: 'hand-webfont'; color:black; font-size:17px; }
Here is the HTML code:
<li><a href="contact.html" class="contactb">Contact</a></li>
Any help would be appreciated by the guys.
source share