Bonjour, voila mon code :
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<link rel="stylesheet" type="text/css" href="style.css">
<title>ProgTuto</title>
</head>
<body>
<header>
<p class="image">
<img src="img/logo.png" alt="Logo ProgTuto" width="250" height="50"/>
<a href="index.html"><img src="img/home-menu.png" link="index.html" alt="Accueil" width="50" height="50"/>
<span>Accueil</span></a>
<a href="tuto.html"><img src="img/tuto-menu.png" link="tuto.html" alt="Tuto" width="50" height="50"/>
<span>Nos tutos</span></a>
<a href="contact.html"><img src="img/contact-menu.png" link="contact.html" alt="Contact" width="50" height="50"/>
<span>Nous-Contactez</span></a>
<a href="inscription.html"><img src="img/inscription-menu.png" link="inscription.html" alt="Inscription" width="50" height="50"/>
<span>S'inscrire</span></a>
</p>
</header>
<menu>
</menu>
<footer>
</footer>
</body>
</html>
Et le CSS :
.image span {
visibility: hidden;
}
.image img:hover + span {
visibility: visible;
}
Comment est ce que je pourrais centrer mes spans ? Merci de votre aide...