Mardi 2 Octobre 2007
Rollover sur un lien
Par Jacky, Mardi 2 Octobre 2007 à 02:48 GMT+2 dans Astuces CSS
Pour afficher la réponse, sélectionnez la question! 
Que pensez-vous de Mabulle?C'est Génial!!
Vous voulez vous inscrires?Pas de problèmes!!
| a.viewstyle { position:relative; border-bottom:0px dashed transparent; text-decoration: none; color:#fff!important; } a:hover.viewstyle { text-decoration: none; background: none; } a.viewstyle span {display: none;font-size:14px;font-weight:bold;color:#ffd700;} a:hover.viewstyle span { text-decoration: none; display: inline; position: absolute; top:0px; left: 100px; z-index: 20; width:80%; padding: 2px 100px; } |
Faites un copier-coller du code CSS, ensuite dans votre article en mode HTML copiez ceci:
Ne vous inquiétez pas si les textes sont collés, c'est normal!
<p><a href="url de votre article" class="viewstyle">
Votre question<span>Votre réponse</span></a></p>




