Arriere plan html

Résolu
jo-mcdonald Messages postés 62 Date d'inscription   Statut Membre Dernière intervention   -  
jo-mcdonald Messages postés 62 Date d'inscription   Statut Membre Dernière intervention   -
Bonjour,

Je n'arrive pas a insérer un arrière plan fixe

voila mon code

<body background="image/image-noel.jpg"
background-color:black;
background-attachment:fixed;
background-repeat:no-repeat;>
</body>

Qui pourrait m'expliquer mon erreur
A voir également:

6 réponses

FoxJunior Messages postés 4 Date d'inscription   Statut Membre Dernière intervention  
 
L'image n'apparait pas?
0
jo-mcdonald Messages postés 62 Date d'inscription   Statut Membre Dernière intervention   14
 
si mais elle ne reste pas fixe et est répété
0
FoxJunior Messages postés 4 Date d'inscription   Statut Membre Dernière intervention  
 
Tu as oublier quelque chose regarde:
<body background=url"image/image-noel.jpg"
background-color:black;
background-attachment:fixed;
background-repeat:no-repeat;>
</body>
0
notobe Messages postés 1952 Date d'inscription   Statut Membre Dernière intervention   213
 
bug d'édition
0

Vous n’avez pas trouvé la réponse que vous recherchez ?

Posez votre question
notobe Messages postés 1952 Date d'inscription   Statut Membre Dernière intervention   213
 
Euh... du code CSS ça se met dans une feuille de style, pas entre des balises html.

Par exemple, à placer entre les balises <head></head> :
<style type="text/CSS">
body {
background-image:url(image/image-noel.jpg);
background-color:black;
background-attachment:fixed;
background-repeat:no-repeat;
}
</style>
0
jo-mcdonald Messages postés 62 Date d'inscription   Statut Membre Dernière intervention   14
 
en effet

merci a vous

j'ai même amélioré

<style type="text/CSS">
body {
background-image:url(image/image-noel.jpg);
background-color:black;
background-attachment:fixed;
background-repeat:repeat-x;
background-position:center center;
}
</style>

sujet résolu
0