Auteur: Rowin (-214.abo.wanadoo.fr)
Date: 20-05-2009 20:30
[ 7 msg ]
|
Bonjour,
J'ai cree mon code HTML et le CSS associé sauf que quand je l'essaye ma page HTML fonctionne comme si le CSS n'existait pas:
Voici mes codes:
Le HTML
<HEAD>
<TITLE>les vents du monde-accueil</TITLE>
<link rel="stylesheet" type="text/css" href="C:\Documents and Settings\WebMaster\Mes documents\site maman\style_menu.css">
</HEAD>
<BODY>
<DIV CLASS="en_tete"></DIV>
<DIV CLASS="menu"><ul><li>hello</li><li>salut></li></ul></DIV>
<DIV CLASS="corps">hello,bienvenue ici patatiblablabla tagadam voilivoilou j'ai rien a dire....????!!!!§§§§</DIV>
</BODY>
Et voici le CSS
body
{
width: 760px;
margin: auto;
margin-top: 20px;
margin-bottom: 20px;
background-image: url("images/fond.png");
}
/* L'en-tête */
.en_tete
{
width: 996px;
height: 385px;
background-image: url("http://www.lesventsdumonde.fr/ressources2/banniere.jpg");
background-repeat: no-repeat;
margin-bottom: 10px;
}
/* Le menu */
.menu
{
float: left;
width: 120px;
}
.element_menu
{
background-color: #626262;
background-image: url("images/motif.png");
background-repeat: repeat-x;
border: 2px solid black;
margin-bottom: 20px;
}
/* Quelques effets sur les menus */
.element_menu h3
{
color: #B3B3B3;
font-family: Arial, "Arial Black", "Times New Roman", Times, serif;
text-align: center;
}
.element_menu ul
{
list-style-image: url("images/puce.png");
padding: 0px;
padding-left: 20px;
margin: 0px;
margin-bottom: 5px;
}
.element_menu a
{
color: #B3B3B3;
}
.element_menu a:hover
{
background-color: #B3B3B3;
color: black;
}
/* Le corps de la page */
.corps
{
margin-left: 140px;
margin-bottom: 20px;
padding: 5px;
color: #B3B3B3;
background-color: #626262;
background-image: url("images/motif.png");
background-repeat: repeat-x;
border: 2px solid black;
}
.corps h1
{
color: #B3B3B3;
text-align: center;
font-family: Arial, "Arial Black", "Times New Roman", Times, serif;
}
.corps h2
{
height: 30px;
background-image: url("images/titre.png");
background-repeat: no-repeat;
padding-left: 30px;
color: #B3B3B3;
text-align: left;
}
/* Le pied de page (qui se trouve tout en bas, en général pour les copyrights) */
.pied_de_page
{
padding: 5px;
text-align: center;
color: #B3B3B3;
background-color: #626262;
background-image: url("images/motif.png");
background-repeat: repeat-x;
border: 2px solid black;
}
Si quelqu'un pouvait m'aider......
|