Closed Axodious closed 12 years ago
I will have a look at it asap. Thanks for reporting this. :-)
An example would be:
<a href="http://eu.battle.net/wow/en/item/60288"><img src="http://wowimg.zamimg.com/images/logos/home.gif" /></a>
Since this issue originates from the tooltip plugin I'm using, I have forwarded the issue to the plugin's author: https://github.com/Craga89/qTip2/issues/272
As a temporary fix, you could add a height to your <a>
element that matches the image's height. This should place the tooltip correctly at the top of the image. :-)
So, I got some feedback and this isn't really a bug. It's the normal way inline elements behave in HTML.
To "fix" the problem you could change your <a href="...">
to <a style="display: inline-block;" href="...">
. This will make the <a>
Tag behave properly...
Example: http://jsfiddle.net/NdPHP/6/
Thanks, that worked. :)
I was wrong, there is an issue with embedding an image in a URL for a tooltip. The tooltip is fine until you mousover the tooltip itself, then it starts flashing. I was trying to get the anchor on the mouse cursor which should workaround the issue but can't figure out how. >_<