-
Fond de page
Lundi 3 Octobre 2016 à 23:02 Pandidi
Bonjour, voilà je me suis remise au CSS récemment et bon pour débuter j'ai pioché sur un peu tout les codes CSS que j'ai pu trouver pour mon nouveau blog. Cependant je suis bloquée depuis des heures sur le fond de ma page... En effet lorsqu'on scroll en haut, tout est bien "mis", hors quand on descends on se rends compte qu'il n'y a plus de fond de page, il est totalement blanc. Et je souhaiterais ajouter une couleur à ce fond blanc mais j'ai tout essayé: menu, fond de page, fond de blog, valeur, etc... Rien n'y fait. Pourriez-vous m'aider à résoudre ce problème s'il vous plait?
Voici le code (du moins les parties qui je pense posent problèmes):#body { min-height:100%;
top: 0px;
border-top: none;
background: url(http://ekladata.com/-JN63F-URmqIB8kN6uyUB_L-6s4/fond2.png) repeat-x 0px 350px,
url(http://ekladata.com/myoYO54fYZ1dCRBaU1Tl46x3HPg/love.png) no-repeat 50% 0px,
url(http://ekladata.com/nneJNTxKb0I9ti6fCwfYNx5YLJk/Icy-lake-and-violet-sky-Landscape-theme-HD-Wallpaper-1440x900.png) no-repeat fixed
0px 0px / cover;
}
#background {min-height:100%;
margin-top: -25px;
width: 100%;
}
#header{
height: 0px;
width: 100%;
}
#titre_header a { display: block;
position: absolute;
top: 367px;
left: 650px;
height: 50px;
width: 500px;
font-variant: small-caps;
font-size: 42px;
color: white;
border:none;
}
#footer {background: #cfbeda url(urlimage) no-repeat 101.5% 100%;}
#content {min-height: 60%;
position: absolute;
color: #555b73;
width: 72%;
text-align: justify;
margin: 13%;
margin-top: 420px;
background: #cfbeda url() no-repeat 101.5% 100%;
}
#menu1{ background: #cfbeda url() no-repeat 101.5% 100%;
}
#menu2{ background: #cfbeda url() no-repeat 101.5% 100%;
}J'ai ceci: http://ekladata.com/VPXT0WWQIU5P6Gnv5G3tKB5HT0k/faux.jpg
Au lieu de ceci: http://ekladata.com/aPN2feHU_psHj8egB2H5emP7I9k/bon.png
Merci d'avance!
Dimanche 9 Octobre 2016 à 14:42 Nagalia
La couleur du font de page se défini dans #body ;)
supprime le "repeat-x" de ta première image, ou supprime simplement l'image pour mettre ta couleur à la place
Vous devez être membre pour poster un message.