Bonjour,
La question a déjà du être posé mais même en cherchant, je n'ai pas trouvé la solution a mon problème. En plus ça doit être tout bête ...
J'ai un code html avec les div suivant :
Et le code css correspondant :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10 <div class="header"> <img src="images/logo.png" width="400" height="200"><br> </div> <div class="contenu"> </div> <div class="footer"> <img src="images/footer.png" width="300" height="250" border="0" align="right"> </div>
- J'ai bien mis le hauteur.
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
24
25
26 #header { height:200px; width:6px; background-image: url("images/barre_data.png"); background-repeat:repeat-x; } #contenu { position: relative; min-height: 100%; height: 100%; voice-family: "\"}\""; voice-family: inherit; height: auto; } #footer { height:250px; width:4px; background-image: url("images/barre_footer.png"); background-repeat:repeat-x; position: absolute; bottom: 0; }
- Les images se trouvent bien dans le répertoire images.
Qu'est-ce qui cloche ?
Merci pour votre aide.
Johan.
Partager