Insérez l'image d'arrière-plan en utilisant le CSS en insérant le code suivant dans votre feuille de style:
body {
background-image: url ('http://domain.com/yourimage.jpg') -
}
Remplacer "domain.com/yourimage.jpg" avec le chemin d'accès spécifique à votre fichier image, laissant l'apostrophe marque intacte. L'image doit être téléchargée à l'Internet afin d'être visible pour les autres.
Faites votre tuile de fond en ajoutant le "background-repeat: repeat" paramètre, comme ceci:
body {
background-image: url ('http://domain.com/yourimage.jpg') -
background-repeat: répétabilité
}
Faites votre image de fond que répéter horizontalement en ajoutant le "background-repeat: repeat-x" paramètre, comme ceci:
body {
background-image: url ('http://domain.com/yourimage.jpg') -
background-repeat: repeat-x
}
Faites votre image de fond que répéter verticalement en ajoutant le "background-repeat: repeat-y" paramètre, comme ceci:
body {
background-image: url ('http://domain.com/yourimage.jpg') -
background-repeat: repeat-y-
}
Maintenez l'image de fond en place tandis que les rouleaux de visiteurs de haut en bas en ajoutant le "background-attachment: fixed" paramètre, comme ceci:
body {
background-image: url ('http://domain.com/yourimage.jpg') -
background-attachment: fixe
}