1
I’m building a Tooltip effect that displays the definitions of specific terms, but I’m encountering problems by having to add an arrow above the small box. Check the CSS of the code soon followed by the HTML below:
CSS
a.tooltip {
position: relative;
padding: 0;
color: #000000;
text-decoration: none;
border-bottom: 1px dotted #133783;
cursor: help;
z-index: 25;
}
a.tooltip:hover {
border: none;
height: auto;
background: transparent;
color: #133783;
z-index: 25;
}
a.tooltip span {
display: none
}
a.tooltip:hover span {
display: block;
position: absolute;
width: 290px;
top: 2em;
right-align: justify;
left: 0;
font: 12px arial, helvetica, sans-serif;
padding: 5px 10px;
border: 1px solid #133783;
background: #E3E3E3;
color: #000;
font: 11px arial, verdana, helvetica, sans-serif;
}
HTML
<a href="#" class="tooltip">HTML<span><strong>HTML:</strong> É uma linguagem de marcação utilizada para produzir páginas na Web. Documentos HTML podem ser interpretados por navegadores.</a>
I didn’t understand very well what you need. It has how to demonstrate in a simple drawing ?
– Diego Souza
To be more specific, I’ll send an image: (http://i.imgur.com/Hsl44k3.png), check out the arrow above the Tooltip effect, which displays term settings.
– user33070