Bonjour,
J'ai une question par rapport au tutoriel de Rodrigue Hunel concernant les infos-bulles.
J'aimerai pouvoir placer l'infobulle sous le lien (avec ce tuto, il reste collé à gauche)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
| #corps a.info_bulle span
{
display : none;
}
#corps a.info_bulle
{
color : white;
text-decoration : none;
position:relative;
}
#corps a.info_bulle:hover span
{
display : block;
position : absolute;
padding : 6px; /* Définition des marges intérieures */
width : 100px;
color : #000011;
text-align : justify; /* Justification du texte */
cursor : default;
}
#corps a.info_bulle:hover
{
border : 0; /* ligne qui corrige le bug d'IE6 et inférieur */
}
#corps a.info_bulle:hover span img
{
width:100%;
} |
<a href="****.php" class="info_bulle">TEST<span><img src="test.png" alt="TEST"/></span></a>
Partager