Arriere plan html

Résolu/Fermé
jo-mcdonald Messages postés 60 Date d'inscription vendredi 11 septembre 2009 Statut Membre Dernière intervention 23 novembre 2011 - 20 nov. 2009 à 21:49
jo-mcdonald Messages postés 60 Date d'inscription vendredi 11 septembre 2009 Statut Membre Dernière intervention 23 novembre 2011 - 20 nov. 2009 à 22:12
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 vendredi 20 novembre 2009 Statut Membre Dernière intervention 2 mai 2010
20 nov. 2009 à 21:51
L'image n'apparait pas?
0
jo-mcdonald Messages postés 60 Date d'inscription vendredi 11 septembre 2009 Statut Membre Dernière intervention 23 novembre 2011 14
20 nov. 2009 à 21:52
si mais elle ne reste pas fixe et est répété
0
FoxJunior Messages postés 4 Date d'inscription vendredi 20 novembre 2009 Statut Membre Dernière intervention 2 mai 2010
20 nov. 2009 à 21:53
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 mercredi 11 novembre 2009 Statut Membre Dernière intervention 8 juillet 2011 213
20 nov. 2009 à 21:55
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 mercredi 11 novembre 2009 Statut Membre Dernière intervention 8 juillet 2011 213
20 nov. 2009 à 21:55
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 60 Date d'inscription vendredi 11 septembre 2009 Statut Membre Dernière intervention 23 novembre 2011 14
20 nov. 2009 à 22:12
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