Trung
mercredi 13 août 2008 à 10:54
Bonjour =)
Alors j'ai fais ce que tu as dit en modifiant le CSS et le Index mais on dirait qu'il y a quelques problèmes:
Il affiche qu'une image sur 2 oO
Quand on passe la souris dessus, le fragment de bambou disparait
Il reste à faire le positionnement de la barre mais je ne sais pas comment m'y prendre

'
Voici le lien:
Nouvelle pageVoici la partie du code CSS:
CODE
a.actu {
background: url(images/bambou/actualites.png) no-repeat; width: 110px; height: 56px; display: block; float: left
}
a.actu:hover {
background: url(/images/bambou/actualitesad.png) no-repeat; width: 110px; height: 56px; display: block; float: left;
}
a.art {
background: url(/images/bambou/art.png) no-repeat; width: 142px; height: 56px; display: block; float: left
}
a.art:hover {
background: url(/images/bambou/artad.png) no-repeat; width: 142px; height: 56px; display: block; float: left;
}
a.club {
background: url(images/bambou/club.png) no-repeat; width: 167px; height: 56px; display: block; float: left
}
a.club:hover {
background: url(/images/bambou/clubad.png) no-repeat; width: 167px; height: 56px; display: block; float: left;
}
a.calendrier {
background: url(/images/bambou/calendrier.png) no-repeat; width: 118px; height: 56px; display: block; float: left
}
a.calendrier:hover {
background: url(/images/bambou/calendrierad.png) no-repeat; width: 118px; height: 56px; display: block; float: left;
}
a.archives {
background: url(images/bambou/archives.png) no-repeat; width: 137px; height: 56px; display: block; float: left
}
a.archives:hover {
background: url(/images/bambou/archivesad.png) no-repeat; width: 137px; height: 56px; display: block; float: left;
}
a.forum {
background: url(/images/bambou/forum.png) no-repeat; width: 111px; height: 56px; display: block; float: left
}
a.forum:hover {
background: url(/images/bambou/forumad.png) no-repeat; width: 111px; height: 56px; display: block; float: left;
Et le Html:
CODE
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Vovinam Việt võ Đạo Fontenay-sous-Bois</title>
<link href="style.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="contenu">
<div id="entete">
<h1><br>
</h1><br>
<a href="#" class="actu"></a>
<a href="#" class="art"></a>
<a href="#" class="club"></a>
<a href="#" class="calendrier"></a>
<a href="#" class="archives"></a>
<a href="#" class="forum"></a>
Je voudrais que la barre soit placée comme ceci:

Merci bien, ça m'a permis d'avancer