Voilà je suis entrain de créer mon site web et je rencontre un petit soucis tout est déformé dans IE alors que sous firefox rien du tout ça fonctionne nickel.
Cela est surement dû à une erreur dans mon code que je ne trouve pas.
Le site --> Jopa-prod
Je vous joint mes deux codes :
Code html : 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 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta name="robots" content="index, follow" /> <!-- Infos sur le site --> <meta name="keywords" content="informatique, tutos, astuces, graphisme, jopa-prod, jonathan, blog" /> <meta name="description" content="Graphisme et informatique" /> <meta name="generator" content="Jopa-prod" /> <meta name="Author" lang="fr" content="Jopa-prod" /> <link rel="stylesheet" media="screen" type="text/css" title="Jopa-prod" href="css/style.css" /> <title>Jopa-prod</title> <LINK REL="SHORTCUT ICON" href="images/favicon.ico"> </head> <body> <div class="center"> <div class="entete"></div> <br><div class="corps"> <div class="menu_haut"> <!-- Preload des images au passage de la souris, là aussi uniquement en CSS --> <img src="images/accueil_rollover.png" alt="" style="display:none;" /> <img src="images/informations_rollover.png" alt="" style="display:none;" /> <img src="images/news_rollover.png" alt="" style="display:none;" /> <img src="images/galerie_rollover.png" alt="" style="display:none;" /> <img src="images/informatique_rollover.png" alt="" style="display:none;" /> <img src="images/projets_rollover.png" alt="" style="display:none;" /> <img src="images/contact_rollover.png" alt="" style="display:none;" /> <!-- On affiche les images cliquable --> <a class="rollover_accueil" href=""><span>Accueil</span></a> <a class="rollover_informations" href=""><span>Informations</span></a> <a class="rollover_news" href=""><span>News</span></a> <a class="rollover_galerie" href=""><span>Galerie</span></a> <a class="rollover_informatique" href=""><span>Informatique</span></a> <a class="rollover_projets" href=""><span>Projets</span></a> <a class="rollover_contact" href=""><span>Contact</span></a> </div> <div class="corps_texte"> <br><br><br><p><h4><font color="#83BA20"><b>En construction</b></h4></p></br></br></font> <p>Comme vous pouvez le remarquer le site est encore en construction,</p> <p>chaque jour une mise à jour est effectuée.</p> <p>Le site va migrer très prochainement sur un autre serveur.</p> <p>Sur ce, merci de votre compréhension =)</p> </div> <div class="menu_gauche"> <div class="identifiant"> <div class="menu_gauche_texte"> <ul> <li style="line-height:121px;"><a href="">Boulazac</a></li> <div class="lien2"><li style=""><a href="">Boulazac</a></li></div> <li style="line-height:30px;"><a href="">Boulazac</a></li> <li style="line-height:11px;"><a href="">Boulazac</a></li> <li style="line-height:31px;"><a href="">Boulazac</a></li> </ul> <div class="menu_gauche2"> <div class="identifiant"> <div class="menu_gauche2_texte"> <ul> <li style="line-height:121px;"><a href="">Boulazac</a></li> <div class="lien2"><li style=""><a href="">Boulazac</a></li></div> <li style="line-height:30px;"><a href="">Boulazac</a></li> <li style="line-height:11px;"><a href="">Boulazac</a></li> <li style="line-height:31px;"><a href="">Boulazac</a></li> </ul> <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><div class="pied"> <p>Copyright 2009-2010 Jopa-prod - Version 2.0 |Mise à jour le 7 Août 2009| By jopa </p> </div> </div> </div> </div> </div> </div> </div> </div> </div> </body> </html>
Code css : 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
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268 body { height:800px; margin:auto; /* Pour centrer notre page */ margin-top:10px; /* Pour éviter de coller avec le haut de la fenêtre du navigateur. Essayez d'enlever pour voir ! */ margin-bottom:20px; /* Idem pour le bas du navigateur */ padding:0px; font-family: Verdana, Geneva, sans-serif; font-size:12px; background-color:#BCBFBF; background-position:center; background-repeat:no-repeat; } .entete { background-image:url('../images/entete.png'); height:130px; width:800px; float:left; background-position:center; background-repeat:no-repeat; } .center { width:800px; margin:0 auto; } .corps { background-color:#FFFFFF; height:950px; margin:0 auto; width:800px; } /* BOUTON ACCUEIL */ a.rollover_accueil { display:block; float:left; width:100px; height:30px; background-image:url('../images/accueil.png'); background-repeat:no-repeat; border:0; } a.rollover_accueil:hover { background-image:url('../images/accueil_rollover.png'); background-repeat:no-repeat; } a.rollover_accueil span { display:none; } /* BOUTON INFORMATIONS */ a.rollover_informations { display:block; float:left; width:100px; height:30px; background-image:url('../images/informations.png'); background-repeat:no-repeat; border:0; } a.rollover_informations:hover { background-image:url('../images/informations_rollover.png'); background-repeat:no-repeat; } a.rollover_informations span { display:none; } /* BOUTON NEWS */ a.rollover_news { display:block; float:left; width:100px; height:30px; background-image:url('../images/news.png'); background-repeat:no-repeat; border:0; } a.rollover_news:hover { background-image:url('../images/news_rollover.png'); background-repeat:no-repeat; } a.rollover_news span { display:none; } /* BOUTON GALERIE */ a.rollover_galerie { display:block; float:left; width:100px; height:30px; background-image:url('../images/galerie.png'); background-repeat:no-repeat; border:0; } a.rollover_galerie:hover { background-image:url('../images/galerie_rollover.png'); background-repeat:no-repeat; } a.rollover_galerie span { display:none; } /* BOUTON INFORMATIQUE */ a.rollover_informatique { display:block; float:left; width:100px; height:30px; background-image:url('../images/informatique.png'); background-repeat:no-repeat; border:0; } a.rollover_informatique:hover { background-image:url('../images/informatique_rollover.png'); background-repeat:no-repeat; } a.rollover_informatique span { display:none; } /* BOUTON PROJETS */ a.rollover_projets { display:block; float:left; width:100px; height:30px; background-image:url('../images/projets.png'); background-repeat:no-repeat; border:0; } a.rollover_projets:hover { background-image:url('../images/projets_rollover.png'); background-repeat:no-repeat; } a.rollover_projets span { display:none; } /* BOUTON CONTACT */ a.rollover_contact { display:block; float:left; width:100px; height:30px; background-image:url('../images/contact.png'); background-repeat:no-repeat; border:0; } a.rollover_contact:hover { background-image:url('../images/contact_rollover.png'); background-repeat:no-repeat; } a.rollover_contact span { display:none; } /*-------------------------------Nouveautes---------------------------------*/ .menu_gauche { width:180px; height:190px; margin-top:30px; float:left; background-image:url('../images/menu_verticale.png'); background-repeat:no-repeat; } .menu_gauche_texte { font-size:12px; color:#124A00; } .identifiant{ line-height:15px; } .lien2{ position:relative; margin-left:0px; margin-top:-46px; } /*---------------------------------------------------------------------------*/ /*-------------------------------Prochainement---------------------------------*/ .menu_gauche2 { width:180px; height:190px; margin-top:30px; float:left; background-image:url('../images/menu_verticale2.png'); background-repeat:no-repeat; } .menu_gauche2_texte { font-size:12px; color:#124A00; } .identifiant{ line-height:15px; } .lien3{ position:relative; margin-left:0px; margin-top:-46px; } .corps_texte { color:#000000; float:right; font-size:12px; } /*---------------------------------------------------------------------------*/ /**********************************Footer*************************************/ .pied { width:810px; height:25px; margin-left:-4px; background-image:url('../images/pied.png'); background-repeat:no-repeat; text-align:center; font-size:9px; color:#FFFFFF; } /*---*********************************************************************---*/
Au passage comment positionner correctement le texte par rapport au menu verticale ?
Merci pour votre aide
jopa
Partager