Bonjour à tous, me voilà butant sur un code de "débutant".
J'ai mis sur une balise div une image de fond. Celle ci s'affiche parfaitement sur FF et Chrome mais ne s'affiche pas sous IE. J'ai testé avec un jpeg et avec un png, le problème reste le même...et j'avoue que là je n'ai pas trop d'idée.
Merci d'avance à tous
PS : il s'agit de l'image présente dans le div contener
Le site en dev est visible ici : http://www.tampons3clics.com
Code de la page index
style.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
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Tampons 3 clics - Personnalisez votre tampon en 5 minutes</title> <meta name="description" content="" /> <meta name="keywords" lang="fr" content="" /> <meta http-equiv="Content-Language" content="fr" /> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta name="revisit-after" content="1 Day"> <link rel="shortcut icon" type="image/x-icon" href="favicon.ico" /> <link href="css/style.css" rel="stylesheet" type="text/css" /> <link href="css/colorbox.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script> <script type="text/javascript" src="js/jquery.colorbox.js"></script> <script type="text/javascript"> $(document).ready(function(){ $(".colorbox").colorbox(); }); </script> <script type="text/javascript"> function Validator(theForm){ if (theForm.email.value != "") { var maReg = new RegExp ( "^\\w[\\w+\.\-]*@[\\w\-]+\.\\w[\\w+\.\-]*\\w$", "gi" ) ; var mail=theForm.email.value; if ( mail.search( maReg ) == -1 ) { alert("Saisissez une adresse e-mail correcte.\nMerci."); theForm.email.focus(); return(false); } } if (theForm.email.value == ""){ alert("Veuillez saisir un email.\nMerci"); theForm.email.focus(); return (false); } if (theForm.nom.value == ""){ alert("Veuillez saisir un nom.\nMerci"); theForm.nom.focus(); return (false); } if (theForm.prenom.value == ""){ alert("Veuillez saisir un prenom.\nMerci"); theForm.prenom.focus(); return (false); } if (theForm.message.value == ""){ alert("Veuillez saisir un message.\nMerci"); theForm.message.focus(); return (false); } return(true); } function alignement(ligne,align){ document.getElementById('alignement_'+ligne).value=align; document.getElementById('align_'+ligne+'_gauche').src='images/gauche_off.gif'; document.getElementById('align_'+ligne+'_centre').src='images/centre_off.gif'; document.getElementById('align_'+ligne+'_droite').src='images/droite_off.gif'; document.getElementById('align_'+ligne+'_'+align).src='images/'+align+'.gif'; } function maj_gras(coche,li){ var police=document.getElementById('font'+li).selectedIndex; var italique=document.getElementById('ita'+li); if (police==8) if(coche) italique.checked=''; } function maj_ital(coche,li){ var police=document.getElementById('font'+li).selectedIndex; var gras=document.getElementById('gras'+li); if (police==8){ if(coche) gras.checked=''; } if (police==3) document.getElementById('ita'+li).checked="checked"; } function maj_graisse(policeselectionnee,li){ var gras=document.getElementById('gras'+li); var italique=document.getElementById('ita'+li); gras.disabled=""; italique.disabled=""; gras.style.visibility="visible"; if (policeselectionnee==0){ gras.checked=''; italique.checked=''; gras.disabled="disabled"; italique.disabled="disabled"; } else if (policeselectionnee==3){ gras.checked=''; gras.style.visibility="hidden"; italique.checked="checked"; } else if (policeselectionnee==4){ italique.checked=''; italique.disabled="disabled"; } else if (policeselectionnee==6){ gras.checked=''; italique.checked=''; gras.disabled="disabled"; italique.disabled="disabled"; } else if (policeselectionnee==8){ if(gras.checked){ italique.checked=''; } if(italique.checked){ gras.checked=''; } } else if (policeselectionnee==14){ gras.checked=''; italique.checked=''; gras.disabled="disabled"; italique.disabled="disabled"; } } </script> </head> <body> <div id = 'contener'> <div id = 'header'> <div id = 'logo'> <a href = 'index.php' title = "Revenir à l'accueil"><img src = 'images/simultampons.png' alt = "Bannière du site" /></a> </div> <div id = 'tampon'> <a href = 'index.php' title = 'Revenir à l'accueil'><img src = 'images/tampon-bleu.png' /></a> </div> <div id = 'bloc_header'> <div id = 'demande_specifique'> <a title = "Contactez-nous pour toute demande spécifique" href = 'contactez-nous.php' title = "Revenir à l'accueil"><img src = 'images/demande-specif.png' /></a> </div> <div id = 'bouton_panier'> <a title = "Consulter mon panier" href = 'index.php' title = "Revenir à l'accueil"><img src = 'images/panier.png' /></a> </div> <div id = 'bouton_contact'> <a title = "Contactez-nous" href = 'contactez-nous.php' title = "Revenir à l'accueil"><img src = 'images/contact.png' /></a> </div> </div> </div> <div id = 'besoin_aide'> <img src = 'images/bouton-aide.png' /> </div> <div id = 'corps'> <div id = 'commande_personnalise'> <a title = 'Creez votre tampon personnalisé en 3 clics' href = 'creer-tampon-personnalise.php'> <img src = 'images/bloc-creez-votre-tampon.png' /> </a> </div> <div id = 'commande_reference'> <form id = 'identification' method = 'post' action = 'index.php'> <input id = 'identifiant' type = 'text' name = 'identifiant' /> <input id = 'password' type = 'passord' name = 'mdp' /> <input src="images/bloc-identifiez-vous.png" type = "image" id = 'submit_identification' value = 'submit' /> </form> </div> </div> <div id = 'footer'> <span>© tampons3clics.com : CHANZY TAMPON SARL, 6 place Washington - 72000 Le Mans - Tél. : 02 43 41 35 36 - Fax : 02 43 75 03 32</span><br /> <a target = "_blank" href = 'http://www.chanzy-tampons.com'>www.chanzy-tampons.com</a> - <a target = "_blank" href = 'http://www.tampons-paris.com'>www.tampons-paris.com</a> - <a target = "_blank" href = 'http://www.tampons-du-mail.com'>www.tampons-du-mail.com</a> - <a href = 'mentions_legales.php'>Mentions légales</a> - <a target = "_blank" href = 'http://www.tethis-interactive.com'>créé et imaginé par Tethis-Interactive - Le Mans, conception de sites Internet</a> </div> </div> </body> </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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235 body{ width: 100%; font-family: Arial, Helvetica, sans-serif; margin: 0; padding: 0; } #contener { position:relative; width: 990px; height: 100%; background: url("../images/fondepage.jpg") no-repeat; margin: 0 auto; padding: 0; text-align: left; } img{ border: 0; } a{ color: #000; } a:hover{ color: #4B4B4B; } #header{ position:relative; width: 100 %; } #logo{ position: absolute; top: 100px; left: 210px; } #tampon{ position: absolute; top: 55px; left: 405px; } #bloc_header{ width: 197px; height: 170px; position: absolute; top: 80px; right: 15px; background: url("../images/pave-contact-demande.png"); } #demande_specifique{ position: absolute; top: 25px; left: 20px; } #bouton_panier{ width: 66px; height: 66px; position: absolute; top: 78px; left: 30px; } #bouton_contact{ width: 66px; height: 66px; position: absolute; top: 80px; right: 30px; } #besoin_aide{ position: absolute; top: 550px; right: 15px; } #corps{ width: 100%; position: absolute; top: 280px; } #footer{ width: 820px; position: absolute; top: 614px; left: 77px; font-size: 9px; text-align: center; } #footer span{ font-size: 10px; font-weight: bold; } #footer a{ color: #000; text-decoration: none; } #bloc_mentions_legales{ font-size: 11px; width: 876px; height: 330px; position: absolute; top: 260px; left: 58px; background: url("../images/mentions-legales.png"); } #mentions{ position: absolute; top: 70px; left: 50px; width: 750px; text-align: justify; } #logo_tethis{ position: absolute; top: 20px; left: 210px; } #commande_personnalise{ position: absolute; top: 0px; left: 110px; } #commande_reference{ background: url("../images/bloc-vous-etes-reference.png"); width: 304px; height: 249px; position: absolute; top: 0px; left: 550px; } #formulaire{ width: 876px; height: 330px; position: absolute; top: 260px; left: 58px; background: url("../images/bloc-contact.png"); } #formulaire table{ position: absolute; top: 60px; left: 200px; font-weight: bold; } #submit_contact{ position: absolute; top: 260px; left: 320px; } #identifiant{ position: absolute; top: 100px; left: 75px; border: 2px solid #65CC31; } #password{ position: absolute; top: 155px; left: 75px; border: 2px solid #65CC31; } #submit_identification{ position: absolute; top: 175px; left: 18px; } #exemples_tampons{ background: url("../images/bloc-exemples.png"); width: 295px; height: 315px; position: absolute; top: -14px; left: 60px; } #exemples{ position: absolute; top: 50px; left: 25px; } #encreurs{ position: absolute; top: 170px; left: 25px; } #formulaire_personnalisation{ background: url("../images/bloc-formulaire.png"); width: 567px; height: 314px; position: absolute; top: -12px; left: 345px; } #formulaire_personnalisation table{ position: absolute; top: 50px; left: 25px; font-size: 13px; } #submit_personnalisation{ position: absolute; top: 260px; left: 175px; }
Partager