Bonjour à tous
J'ai une page principale (index.php)en php, dont le menu est géré par un "include(menu.php)".
J'ai un fichier CSS qui gère ma page principale.
Je voudrais un second fichier CSS qui gère mon menu.
D'ou la question :
Ou dois je indiquer le fichier CSS de mon menu ?
Ce que j'ai fais :
Fichier principal:
Dans mon fichier inclus menu.php:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10 <?php <!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" lang="fr"> <head> <title>titre</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link rel="stylesheet" media="screen" type="text/css" title="Design" href="styles/index.css"> reste du code
Donc ou se trouve mon erreur ?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5 <link rel="stylesheet" media="screen" type="text/css" title="Design" href="styles/menu_main.css"> <li><a href=index.php?page=accueil>Accueil</a></li> Reste de la page![]()
Partager