Bonjour à tous!
J'ai un léger souçi que voilà, j'a icréé un eliste de lien sur la partie gauche de mon site avec les balises <ul><li><a href...>. Jusque là tout vas bien, les liens fonctionnent.
Dès que je met un <div> dans la page, plus aucun lien ne marche!
Voici le code:
--------------------------------------------------------------
Code html : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr"> <head> <title>Bienvenue</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta name="description" content=""> <meta name="keywords" content=""> <link rel="stylesheet" media="screen" type="text/css" title="Essai" href="site.css" /> </head> <h1>Mon site</h1><br class="grand_ecart"> <ul> <li><a > Accueil</a></li><br></br> <li><a href="cv.html"> Curriculum vitae</a></li><br></br> <li><a href="projets.html"> Projets tutorés</a></li><br></br> <li><a href="entreprises.html"> Entreprises</a></li><br></br> <li><a href="contacts.html"> Contacts</a></li><br></br> </ul> <div class="ascenseur"> </div> </html>
Et voilà le css
--------------------------------------------------------------
--------------------------------------------------------------
Code css : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 .ascenseur { color: black; font-family: times new roman, Arial, Verdana, serif; text-align:justify; font-size: 18px; width:25.6cm; height:13.1cm; margin-top:-6cm; margin-left:4cm; overflow:scroll; padding:0.5cm; line-height:22px } .grand_ecart { line-height:40px; }
Si vous pouviez m'aider! merci beaucoup par avance!
Partager