I need to have a link in my webpage followed by a question mark image, so that a mouse over on the question mark image, shows a tool tip. This is the code I have:
<p>
<a class="mainLinks" href="#">Currency Converter</a><a href="#" class="questionIcon"> </a>
</p>
and the corresponding css is:
.costSummaryBox .questionIcon{
background:url(../images/static/question2.png) no-repeat;
text-decoration:none;
}
But in my webpage, I get the image below the link. How do I make them appear in the same line?
Try the following code: