Bonjour,
J'essaie d'implémenter une bannière sur mon site avec du CSS. Comme je le dis dans le titre, ça marche nickel sur firefox mais comme dab ie fait tout foirer!
La bannière est en 3 pièces :
1. Coté gauche 100x100 px arrondi à gauche
2. Le centre 100x100 px carré
3. Droite 100x100 px arrondi à droite
Voici le code CSS:
Et le code HTML dans <BODY> de ma page :
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
27 .bannerleft { border-width: 0; padding: 0; height: 100px; float: left; background-image: url(/Images/bannerleft.png); width: 100px; } .bannercenter { border-width: 0; padding: 0; height: 100px; position: absolute; left: 100px; right: 100px; background-image: url(/Images/bannercenter.png); } .bannerright { border-width: 0; padding: 0; height: 100px; float: right; background-image: url(/Images/bannerright.png); width: 100px; }
Quelqu'un voit ce qui ne va pas chez ie?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3 <DIV class='bannerleft'></DIV> <DIV class='bannercenter'></DIV> <DIV class='bannerright'></DIV>
Merci!
webrider
Partager