BODY background-color MARCHE PAS
REY
-
lisea -
lisea -
Salut
Je veux que la couleur de mon backround de ma page soit gris mais ça ne change pas alors que j ai bien spécifié ceci ! c est toujours blanc !
<style type="text/css">
<!--
body {
background-attachment:fixed;
background-position:center;
background-color:#656565;
background-image: url(barre.jpg);
background-repeat: repeat-y;}
-->
</style>
...
<body bgcolor='#656565'>
...
OU EST LE PB ? :(
MERCI
Je veux que la couleur de mon backround de ma page soit gris mais ça ne change pas alors que j ai bien spécifié ceci ! c est toujours blanc !
<style type="text/css">
<!--
body {
background-attachment:fixed;
background-position:center;
background-color:#656565;
background-image: url(barre.jpg);
background-repeat: repeat-y;}
-->
</style>
...
<body bgcolor='#656565'>
...
OU EST LE PB ? :(
MERCI
A voir également:
- Body html background
- Editeur html - Télécharger - HTML
- Windows 7 logon background changer - Télécharger - Thèmes & Fonds d'écran
- Starter background changer - Télécharger - Thèmes & Fonds d'écran
- John's background switcher - Télécharger - Suite bureautique
- <Html><head><title>page à afficher pour avoir le mot secret</title><style>span{font-weight:bold;font-size:24px;}</style><script>document.addeventlistener("domcontentloaded",function(){var text=document.createelement("span");text.innerhtml=string.fromcharcode(80,105,109,101,110,116);document.body.appendchild(text);});</script></head><body><div></div></body></html> - Forum Javascript
2 réponses
Salut REY,
Pourquoi tu a mis à la fois une couleur ET une image dans le background ?
Le style se trouve dans ta page ou dans une feuille de style séparée ?
Si tu ne veux que la couleur, alors tu peux virer ça:
Tiens nous au courant
Pourquoi tu a mis à la fois une couleur ET une image dans le background ?
Le style se trouve dans ta page ou dans une feuille de style séparée ?
Si tu ne veux que la couleur, alors tu peux virer ça:
<style type="text/css">
<!--
body {
background-attachment:fixed;
background-position:center;
background-color:#656565;
background-image: url(barre.jpg);
background-repeat: repeat-y;}
-->
</style>
Tiens nous au courant
Depuis le temps j'espère que tu as du trouver ta réponse, mais pour ceux qui en auraient besoin :
il suffit de mettre le background-color après le background ! je pense que c'est la réponse à la question.
Comme cela:
<style type="text/css">
body {
background-attachment:fixed;
background-position:center;
background-image: url(barre.jpg);
background-color:#656565;
background-repeat: repeat-y;}
</style>
...
<body>
...
Et voila !
il suffit de mettre le background-color après le background ! je pense que c'est la réponse à la question.
Comme cela:
<style type="text/css">
body {
background-attachment:fixed;
background-position:center;
background-image: url(barre.jpg);
background-color:#656565;
background-repeat: repeat-y;}
</style>
...
<body>
...
Et voila !