I have code like the following:
<div style="width: 145px;"><a href="#" style="text-decoration:none;color:black">
<img src="/images/eh-145x20.png" alt="cloud hosting"
style="margin: 0px;" title="cloud hosting" />
<div style="text-align: center; color: black; font-family: Verdana, Arial, sans-serif; width: 145px;
margin: 0px; padding: 0px; line-height: 9px; font-size: 9px; text-shadow: gray 0.1em 0.1em 0.2em;">
<nobr>My text here</nobr></div>
</a></div>
If I use the code in jsFiddle, there is no space between the image and the text.
If I use the code on my existing site (sorry, can't link to it as it's behind a password) some inherited property - I don't know what - is inserting space between the two.
I've looked at the Computed Style of both the image and the text, and all the margin or padding properties are set to 0.
I assume that some other inherited property is inserting the space, but I don't know where to look to fix it - what CSS property could this be?