j´ai codé comme ceci :
bon dans le fichier html j´ai bien mis body... (et aussi la fameuse phrase a mettre tout eau début
voici ce qu´il y a dans mon fichier css:
body
{
background-color: black;
background-image:
url("
http://videogamenews.zefake.fr.nf/fonddudesig
n.png");
background-position: center center;
background-attachment: fixed; /* Le fond restera fixe */
background-repeat: no-repeat;
margin: auto;
}
- en_tete
{
width: 752px; /* ca c´est pour centrer la banniere */
height: 201px;
background-image:
url("
http://videogamenews.zefake.fr.nf/bannieredus
ite.png");
float: center;
background-repeat: no-repeat;
margin-bottom: 70px;
margin-left: 195px;
background-color: black;
}
- corps
{
width: 500px;
height: 634px;
margin-bottom: 20px; /* Ca c´est pour éviter que le corps colle trop au pied de page en-dessous */
background-attachment: fixed;
background-repeat: no-repeat;
padding-left: 10px;
margin: auto;
}
Que dos-je faire pour que ma bann soit centrée peu importe les résolution qu´elle s´adapte automatiquement 