CSS3 Tooltip / Posts /

Can you put link inside the tooltip?

Just wondering how I can add an a href link inside the tooltip is it possible?
Ott  9 years ago   viewed: 23571    

4 Answers

It's possible to put any link, if you use abbr instead of a in the CSS. I just used this variant. :-)
You can see an example on the page http://esperanto-nb.de/tekniko/technik.html.



PS: Your page removed my last e' in my name. :-( And the sign has to be on the e.
  8 years ago

wow, great post. it gave me a lot of useful information. I look forward to your next posts.

  6 months ago
It seems not easy to include anchor links inside the tooltip content as the <a> element will inherit its parent <a>'s style that has already been styled to look as a box.

For me, I am using the JavaScript Tooltip that allows any rich HTML content, and easy to configure and tweak, though it will cost you 20 bucks.
Ekta   9 years ago

You can comment the pointer-event property of tooltip

div.tooltip {
position: absolute;
text-align: center;
width: 60px;
height: 28px;
padding: 2px;
font: 12px sans-serif;
background: lightsteelblue;
border: 0px;
border-radius: 8px;
/* pointer-events: none; This line needs to be removed */

din   7 years ago


Your name*
(Optional. Used to modify this post afterwords)
+ =  

Ask your Own Question

  • If your question is related to the topic of this post, you can post your question to this page by clicking the "Post a reply" button at left;

  • When you want to start a new page for your question: