CODE
body
{
width: 760px;
margin: auto; /* Pour centrer notre page */
margin-top: 2px; /* Pour éviter de coller avec le haut de la fenêtre du navigateur. Essayez d'enlever pour voir ! */
margin-bottom: 20px; /* Idem pour le bas du navigateur */
}
#en_tete
{
width: 760px;
height: 100px;
background-image: url("images/kit-site_01.jpg");
background-repeat: no-repeat;
margin-bottom: 10px;
}
#menu
{
float: left;
width: 120px;background-color: #626262;
background-image: url("images/kit-site_03.jpg");
background-repeat: repeat-x;
border: 2px solid black;
margin-bottom: 20px;
}
#corps
{
margin-left: 140px; /* Une marge à gauche pour pousser le corps, afin qu'il ne passe plus sous le menu */
margin-bottom: 20px; /* Ca c'est pour éviter que le corps colle trop au pied de page en-dessous */
padding: 5px; /* Pour éviter que le texte à l'intérieur du corps ne colle trop à la bordure */
color: #B3B3B3;
background-image: url("images/kit-site_8.jpg");
border: 2px solid 30px;
background-repeat: no-repeat; /* L'image ne se répètera pas, elle sera à gauche du titre */
padding-left: 30px;
text-align: left;
text-align: center;
font-family: Arial, "Arial Black", "Times New Roman", Times, serif;
padding-right:150px;
}
#pied_de_page
{padding: 5px;
text-align: center;
color: #B3B3B3;
background-color: #626262;
background-image: url("images/kit-site_12.jpg");
background-repeat: repeat-x;
border: 2px solid black;
}
{
width: 760px;
margin: auto; /* Pour centrer notre page */
margin-top: 2px; /* Pour éviter de coller avec le haut de la fenêtre du navigateur. Essayez d'enlever pour voir ! */
margin-bottom: 20px; /* Idem pour le bas du navigateur */
}
#en_tete
{
width: 760px;
height: 100px;
background-image: url("images/kit-site_01.jpg");
background-repeat: no-repeat;
margin-bottom: 10px;
}
#menu
{
float: left;
width: 120px;background-color: #626262;
background-image: url("images/kit-site_03.jpg");
background-repeat: repeat-x;
border: 2px solid black;
margin-bottom: 20px;
}
#corps
{
margin-left: 140px; /* Une marge à gauche pour pousser le corps, afin qu'il ne passe plus sous le menu */
margin-bottom: 20px; /* Ca c'est pour éviter que le corps colle trop au pied de page en-dessous */
padding: 5px; /* Pour éviter que le texte à l'intérieur du corps ne colle trop à la bordure */
color: #B3B3B3;
background-image: url("images/kit-site_8.jpg");
border: 2px solid 30px;
background-repeat: no-repeat; /* L'image ne se répètera pas, elle sera à gauche du titre */
padding-left: 30px;
text-align: left;
text-align: center;
font-family: Arial, "Arial Black", "Times New Roman", Times, serif;
padding-right:150px;
}
#pied_de_page
{padding: 5px;
text-align: center;
color: #B3B3B3;
background-color: #626262;
background-image: url("images/kit-site_12.jpg");
background-repeat: repeat-x;
border: 2px solid black;
}