ghost
vendredi 8 septembre 2006 à 09:37
Bonjour,
Dans le même style, testé IE et FF
CODE
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<head>
<title>Test</title>
<style type="text/css">
a.bulle {
text-decoration: none;
color: red;
position: relative;
}
a.bulle span {
display: none;
}
a.bulle:hover {
background: none; /* correction d'un bug IE */
z-index: 500;
}
a.bulle:hover span {
color: green;
position: absolute;
left: 10px;
top: 20px;
background: yellow;
width: 300px;
display:inline;
}
</style>
</head>
<body>
<p >
<a class="bulle" href="#"> <span> je suis la définition du mot ...Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Morbi egestas pede ac quam. Etiam lectus elit, vehicula et, ornare in, gravida a, urna. Donec vel ipsum in pede adipiscing scelerisque. Mauris nunc magna, iaculis non, mattis in, commodo at, nibh. Duis ultricies aliquam urna. Duis luctus lorem id est.</span> mot</a>
</p>
</body>
</html>
Si ça peut t'aider.