Code CSS : modifications de la bordure sous survol
Auteur:Eve Cole
Date de mise à jour:2009-06-12 19:27:29
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
<html xmlns=" http://www.w3.org/1999/xhtml ">
<tête>
<title>Document sans titre</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type="text/css">
p#extérieur {
position : relative ;
flotteur : gauche ;
marge supérieure : 20 px ;
marge gauche : 20 px ;
fond : bleu ;
}
#extérieur un {
marge : 0 ;
couleur d'arrière-plan : bleu ;
affichage:bloc;
position : relative ;
bordure : 2 px en pointillés rouges ;
}
#outer a:hover {border:2px dashed #CCFFCC;}
#img externe {display:block;border:none;background:#ffffcc;padding:4px;}
</style>
</tête>
<corps>
<h1>Survolez l'image pour voir l'effet de double bordure</h1>
<p id="outer"><a href="#"><img src="</p>
</corps>
</html>