Bonjours j'ai un gros problème de div sur Internet Explorer 6
Lorsque je place des <div> qui sont float, IE6 ajoute un espace de 6 pixels en dessous du <div>
Le résultat est affreux
(voir image attachée)
section css
section HTML
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96 .boite250 { background-image:url(images2/cadre_milieu.gif); background-repeat:repeat-y; margin:0px; padding:0px; } .boiteHaut { background-image:url(images2/cadre_haut_milieu.gif); background-repeat:repeat-x; height:13px; padding:0; margin:0; margin-top:20px; } .boiteHautGauche { float:left; background-image:url(images2/cadre_haut_gauche.gif); height:13px; width:12px; padding:0; margin:0; } .boiteHautDroite { float:right; background-image:url(images2/cadre_haut_droite.gif); height:13px; width:13px; padding:0; margin:0; } .boiteBas { background-image:url(images2/cadre_bas_milieu.gif); height:15px; } .boiteBasGauche { float:left; background-image:url(images2/cadre_bas_gauche.gif); height:15px; width:12px; } .boiteBasDroite { float:right; background-image:url(images2/cadre_bas_droite.gif); height:15px; width:13px; } .recherche { background-image:url(images2/recherche_milieu.gif); background-repeat:repeat-x; margin:0; height:23px; } .rechercheGauche { float:left; background-image:url(images2/recherche_gauche.gif); width:19px; height:23px; } .rechercheDroite { float:right; background-image:url(images2/recherche_droite.gif); width:6px; height:23px; } .recherche input[type=text] { border:none; margin:2px 0 0 10px; height:16px; background:#ffffff; width:180px; } input { margin:0; padding:0; } .paddingRecherche { padding:0 20px 0 10px; } form { margin:0; padding:0; }
Merci d'avance
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 <div class="boiteHaut"> <div class="boiteHautGauche"></div> <div class="boiteHautDroite"></div> </div> <div class="boite250"> <form method="post" action="recherche.php"> <div class="paddingRecherche"> <div class="recherche"> <div class="rechercheGauche"></div> <div class="rechercheDroite"></div> <input type="text" name="textRecherche" /> </div> </div> </form> <div class="clearBoth"></div> </div> <div class="boiteBas"> <div class="boiteBasGauche"></div> <div class="boiteBasDroite"></div> </div>
Partager