Bonjour,
J'essaie d'afficher un commentaire au survol de la souris dans un texte.
Alors sous firefox pas de problème mais sous IE, rien ne s'affiche au survol... a.info et a.info span fonctionnent mais pas les "hover"
Merci de votre aide
Code : Sélectionner tout - Visualiser dans une fenêtre à part
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 a.info { position: relative; text-decoration: none; color: #CCCCCC; border-bottom: 1px gray dotted; } a.info span { display: none; } a.info:hover { background: none; /* correction d'un bug IE */ z-index: 500; } a.info:hover span { display: inline; position: absolute; top: 2em; left: 1em; background: white; text-align: justify; color: black; font-weight: bold; padding: 2px; border: 1px solid black; } <a class="info">Test<span>Dédinition</span></a>
Partager