[CSS] 2 backgrounds.....
Posté : 02 août 2007, 21:28
bonjour,
un question bête mais qui pose problème...
voila, mais en bas à droite, je voudrais rajouter une image qui reste fixe de ~100x100px mais... comme il y a déjà un background (imgtop.gif), ça pose problème.. j'ai essayé de rajouter sa pour se que je veut :
mais évidemment , sa marche pas...
(imgtop.gif ne s'affiche pas)
comment pourrais-je faire ?
Merci de vos réponses
un question bête mais qui pose problème...
Code : Tout sélectionner
#corps
{
width:80%;
margin-left:18%;
margin-top: 85px;
margin-bottom: 20px;
padding-left:4px;
padding-right:4px;
padding-top:2px;
border: 2px solid;
border-color:#9558E7;
background-color: #118CFF;
background-image: url(imgtop.gif);
background-repeat: repeat-x;
}
Code : Tout sélectionner
background-image: url("imgbottom.gif"); /* Le fond est l'image "imgbottom.gif" */
background-repeat: no-repeat; /* Le fond ne se répète pas */
background-position: top right; /* Le fond est aligné en haut à droite */
background-attachment: fixed; /* Le fond est fixé */
(imgtop.gif ne s'affiche pas)
comment pourrais-je faire ?
Merci de vos réponses