Forum » » Le coin des codeurs » » [Résolu] - lightbox conseil svp
Posté : 3 mars 2013 à 12:27
div.popup {
height: 200px;
width: 260px;
}
div.popup > img {
height: 100%;
width: 100%;
cursor: pointer;
}
div.popup > img:active {
height: auto;
width: auto;
position: relative;
border: black solid 1px;
}
<div class="popup"><img style="margin-right: auto; margin-left: auto; display: block;" title="Cliquez sur l'image pour voir en grand !" src="dossier ou se trouve l'image/nom d image.jpg" alt="texte_alternatif" />
Cet article provient de NPDS
https://www.npds.org/viewtopic.php?topic=25747&forum=5