[CSS] Nascondere Testo e Mostrare Immagine?
Ciao a tutti, volevo sapere come posso nascondere il testo e mostrare l'immagine quando c'è l'a:hover...ex:
TESTO [no a.hover - l'img nn ce]
===============================
IMMAGINE [si a.hover - il testo non ce]
Come posso fare?
Codice PHP:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Nuova pagina 3</title>
<style>
.img-testo a {
display: visible;
}
.img-testo a:hover {
background-image: url('accept.png');
background-repeat: no-repeat;
position: absolute;
height: 100%;
width: 100%
}
.img-testo p a:hover {
display: none;
}
</style>
</head>
<body>
<span class="img-testo"><a href="ù"><p>Nome IMG</p></a></span>
</body>
</html>
Grazie 1000...ciao Davide! ^^