Centrer un background sur un template css
ironkiller
-
Stéphane18 Messages postés 372 Date d'inscription Statut Membre Dernière intervention -
Stéphane18 Messages postés 372 Date d'inscription Statut Membre Dernière intervention -
Bonjour, j'ai récemment téléchargé un template pour concevoir un petit site internet.
J'aimerais savoir comment implanter un background sur toutes les pages (centré avec répétition).
Mon fichier css:
Je vois pas où introduire mon morceau de code qui se met en théorie aprés body.
(je suis novice)
Merci d'avance pour vos réponses
J'aimerais savoir comment implanter un background sur toutes les pages (centré avec répétition).
Mon fichier css:
td { color: #066; font-family:arial, helvetica, sans-serif; font-weight:normal; font-size:11px; } .title1 { color:#31333B;font-family:arial, helvetica, sans-serif;font-weight:bold;font-size:13px; } .title2 { color:#953C32;font-family:arial,helvetica,sans-serif;font-weight:bold;font-size:11px; } #holder { position: absolute; top: 0; left: 0;} #copy {clear: both;} html, body, #holder { min-height: 100%; width: 100%; height: 100%;} html>body, html>body #holder { height: auto;} #free-flash-header a:hover {color:#cdd2d7;text-decoration:none} #resol {text-align:left;font-family:Verdana, Arial, Helvetica, sans-serif;position:fixed;padding-left:10px;width:290px;top:0px;left:1280px;margin:0 auto;background:#bfc6d9;} #resol h1 {background:none;font-size:1.2em;letter-spacing:10px;padding:0px;margin:0px;border: 0px;} #resol h2 {font-size:0.6em;letter-spacing:3px;padding:0px;margin:0px;background:none;}
Je vois pas où introduire mon morceau de code qui se met en théorie aprés body.
(je suis novice)
Merci d'avance pour vos réponses
A voir également:
- Centrer un background sur un template css
- 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
- Enlever le soulignement d'un lien css ✓ - Forum Webmastering
- CSS/Comment enlever couleur liens ? ✓ - Forum CSS
1 réponse
Peut tu montrer aussi ton code html pour être plus claire ?
Sinon pour centrer une page tu doit utiliser la propriété margin: auto; pour implanté une image sur toutes tes pages et la répéter background: url("dossier-image/image.jpg") repeat; et tous ça tu le mets dans la partie body de ton css:
Sinon pour centrer une page tu doit utiliser la propriété margin: auto; pour implanté une image sur toutes tes pages et la répéter background: url("dossier-image/image.jpg") repeat; et tous ça tu le mets dans la partie body de ton css:
body{ margin: auto; background: url ("dossier/image.jpg") repeat; font-size: 13px; etc.... }