Beasoin d'aide pour centrer une image... CSS
Fermé
axio
Messages postés
30
Date d'inscription
samedi 28 juin 2008
Statut
Membre
Dernière intervention
6 juin 2013
-
14 août 2009 à 21:09
Tatoo - 20 sept. 2009 à 12:29
Tatoo - 20 sept. 2009 à 12:29
A voir également:
- Beasoin d'aide pour centrer une image... CSS
- Image iso - Guide
- Légender une image - Guide
- Comment agrandir une image - Guide
- Acronis true image - Télécharger - Sauvegarde
- Telecharger une image disque windows 10 fichier iso - Guide
6 réponses
avion-f16
Messages postés
19252
Date d'inscription
dimanche 17 février 2008
Statut
Contributeur
Dernière intervention
10 février 2025
4 505
14 août 2009 à 21:12
14 août 2009 à 21:12
Remplace
background: url(../images/header-mask1.jpg) no-repeat top right;par
background: url(../images/header-mask1.jpg) no-repeat center center;
axio
Messages postés
30
Date d'inscription
samedi 28 juin 2008
Statut
Membre
Dernière intervention
6 juin 2013
23 août 2009 à 15:09
23 août 2009 à 15:09
J'ai bien fait ce que vous m'avez indiqué sauf que l'image après coup a complètement disparue. :(
Voici la partie des HEADERS de mon CSS.
/* HEADER
--------------------------------------------------------- */
#ja-headerwrap {
background: #000000;
color: #CCCCCC;
line-height: normal;
height: 160px;
}
#ja-header {
position: relative;
height: 160px;
}
.ja-headermask {
width: 1000px;
display: block;
background: url(../images/header-mask1.jpg) no-repeat no-repeat center center;
height: 160px;
position: absolute;
top: 0;
right: -1px;
}
#ja-header a {
color: #CCCCCC;
}
h1.logo, h1.logo-text {
margin: 0 0 0 5px;
padding: 0;
font-size: 180%;
text-transform: uppercase;
}
h1.logo a {
width: 207px;
display: block;
background: url(../images/logo.png) no-repeat;
height: 160px;
position: relative;
z-index: 100;
}
h1.logo a span {
position: absolute;
top: -1000px;
}
h1.logo-text a {
color: #CCCCCC !important;
text-decoration: none;
outline: none;
position: absolute;
bottom: 40px;
left: 5px;
}
p.site-slogan {
margin: 0;
padding: 0;
padding: 2px 5px;
color: #FFFFFF;
background: #444444;
font-size: 92%;
position: absolute;
bottom: 20px;
left: 0;
}
/* Search */
#ja-search {
padding-left: 20px;
background: url(../images/icon-search.gif) no-repeat center left;
position: absolute;
bottom: 15px;
right: 0;
}
#ja-search .inputbox {
width: 120px;
border: 1px solid #333333;
padding: 3px 5px;
color: #999999;
background: #444444;
font-size: 92%;
}
Voici la partie des HEADERS de mon CSS.
/* HEADER
--------------------------------------------------------- */
#ja-headerwrap {
background: #000000;
color: #CCCCCC;
line-height: normal;
height: 160px;
}
#ja-header {
position: relative;
height: 160px;
}
.ja-headermask {
width: 1000px;
display: block;
background: url(../images/header-mask1.jpg) no-repeat no-repeat center center;
height: 160px;
position: absolute;
top: 0;
right: -1px;
}
#ja-header a {
color: #CCCCCC;
}
h1.logo, h1.logo-text {
margin: 0 0 0 5px;
padding: 0;
font-size: 180%;
text-transform: uppercase;
}
h1.logo a {
width: 207px;
display: block;
background: url(../images/logo.png) no-repeat;
height: 160px;
position: relative;
z-index: 100;
}
h1.logo a span {
position: absolute;
top: -1000px;
}
h1.logo-text a {
color: #CCCCCC !important;
text-decoration: none;
outline: none;
position: absolute;
bottom: 40px;
left: 5px;
}
p.site-slogan {
margin: 0;
padding: 0;
padding: 2px 5px;
color: #FFFFFF;
background: #444444;
font-size: 92%;
position: absolute;
bottom: 20px;
left: 0;
}
/* Search */
#ja-search {
padding-left: 20px;
background: url(../images/icon-search.gif) no-repeat center left;
position: absolute;
bottom: 15px;
right: 0;
}
#ja-search .inputbox {
width: 120px;
border: 1px solid #333333;
padding: 3px 5px;
color: #999999;
background: #444444;
font-size: 92%;
}
avion-f16
Messages postés
19252
Date d'inscription
dimanche 17 février 2008
Statut
Contributeur
Dernière intervention
10 février 2025
4 505
23 août 2009 à 16:24
23 août 2009 à 16:24
Tu as deux fois no-repeat
axio
Messages postés
30
Date d'inscription
samedi 28 juin 2008
Statut
Membre
Dernière intervention
6 juin 2013
23 août 2009 à 17:48
23 août 2009 à 17:48
Merci infiniment le tout fonctionne a présent :) si jamais j'ai des prob a nouveau puije te demander de l'aide a nouveau?
Axio
Axio
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question
avion-f16
Messages postés
19252
Date d'inscription
dimanche 17 février 2008
Statut
Contributeur
Dernière intervention
10 février 2025
4 505
23 août 2009 à 19:22
23 août 2009 à 19:22
Évidemment.
Il te suffira de créer un nouveau topic sur CCM (il n'y a pas que moi pour t'aider :-) )
Il te suffira de créer un nouveau topic sur CCM (il n'y a pas que moi pour t'aider :-) )