Bonjour,
Voila mon souci, je veux mettre une image de fond sur mon site. Donc je tape en css ceci :
body{
width:800px;
background-image:url("…/images/fond_site.png");
background-color:black;
background-position:center;
background-repeat:no-repeat;
margin: 0 auto;
}
mais quand je fais :background-position:center; l’image remonte et donc le body commence bien tout en haut de l’écran mais l’image on a l’impression qu’elle commence au dessus de l’écran.
Et le truc bizarre est que quand je fais un : margin-top sur mon menu horizontale, plus le margin-top est grand et plus l’image de fond du site descend.
Comment l’expliké ?