Bonjour,
Voila je me sert de ce code css
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#content{
width:900px;
height:100%;
margin:0;
padding:0
}
 
header#banner{
color:#fff;
text-shadow:3px 3px 3px #000;
background:#6d7673 url(../images/banniere2.png) no-repeat;
background-position:50% 50%;
width:845px;
height:187px;
margin:10px 20px;
padding:5px;
border:1px solid #6d7673;
border-radius:10px;
-moz-border-radius:10px;
-moz-box-shadow: 0 0 5px #6d7673;
-webkit-box-shadow: 0 0 5px# 6d7673;
box-shadow: 0 0 5px #6d7673
}
pour mes page php.
Code html : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
<div id="content">
  <header id="banner">
 
  </header>
</div>
Le souci avec ce code c'est que toutes mes pages on la même bannière.(Principe css)
Existe un moyen définir l'url de ma bannière dans ma page html et plus dans mon fichier css.
Merci