Bonjour,
Je fais un site perso et j'ai telecharger easyphp pour voir les evolutions de mon site en local.
Mais malgré un code assez simple, ca ne tient pas compte du css.
Voici mon code:
Un index.php
Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title> Bienvenue sur mon site</title> <link rel="stylesheet" type="text/css" href="style.css" /> </head> <body> <?php include("entete.php"); ?> <?php include("menu.php"); ?> </body> </html>
le fichier menu.php
Code:
1
2
3
4
5 <div id="textemenu"> <a href="index.php">Accueil</a> <a href="changer.php" title="Changer">Changer</a> <a href="contact.php" >Contact</a> </div>
Le fichier style.css
Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14 .imageentete{ width: 1200px ; height: 204px ; } /* ---- Style des liens du menu ---- */ .textemenu { text-color: green; text-decoration: none; font-family: Arial, Verdana; font-size: 80%; font-weight: bold; }
Et ma page internet s'affiche avec un menu sans la bonne police, en bleu au lieu de vert... Bref aucun rapport...:(
Merci pour votre aide !