Bonjour à tous,
je fais appel à vous car je dois rendre un projet pour l'école d'ici peut et je n'ai toujours pas trouvé de solution pour centrer mon bloc principal sur IE toute version confondue et testée depuis IE5 à IE8 avec IE Tester
Par contre sur firefox Mac, windows ainsi que Opera et Safari aucun problème le bloc ce centre comme prévu dans ma feuille de style
Alors que faire pour que mon bloc principal ce centre sur IE comme sur les autres navigateur voici l'url de mon site si vous pouvez y jetter un oeil ce serai vraiment très sympa car là je suis à cour d'idée
voici l'url du site en question hébergé sur le site de l'école
http://www.isl.be:20080/lacroixg/index.php
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
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
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338 html { /*background: #312118;*/ } body { background-image: url(../images/body.png); font-family: Tahoma,Arial, Helvetica, sans-serif; font-size: 11px; line-height: 1.5em; /*display: table;*/ color: #ACA099; /* couleur principal du site un gris assez claire */ /*text-align:center;*/ } /* #body_center { text-align:left; position: relative; width: 866px; max-width: 866px; border: 1px solid red; margin: 0px auto 0px auto; } */ a{ color: #FFFFFF; text-decoration:none; } /* COULEUR ROUGE DES LIENS TITRE DATES DES NEWS */ a:hover{ color: #ff7f01; text-decoration:underline; } .container { /*background-color: #111111;*/ background: url(../images/container.png) repeat top left; width: 866px; margin: 0px auto 0px auto; } p.error{ color:red; font-weight:bold; font-size:14px; padding:5px; border: 1px solid red; background-color: pink; } #content { width:846px; padding:10px; } #content_left { width: 520px; /* contenu de la section de la page d'accueil de gauche */ float:left; padding: 0; } #content_right { float: right; width: 300px; } #header { margin: auto; width: 866px ; height: 231px ; margin-bottom: 10px; } #header a{ display:block; text-indent: -20000px; width: 866px ; height: 231px ; background: url(../images/logo_drift2.png) no-repeat; } /********************************** Menu ***********************************************************/ #menu { width: 866px; height: 40px; margin: 0 auto 10px auto; padding: 0; } #menu_barre { height: 40px; margin-bottom: 10px; padding: 0; background-image: url(../images/menu-red.png); } #menu ul { list-style: none; display: inline; } #menu li { float:left; } #menu li a { float: left; display: block; text-decoration: none; font-family: Tahoma; font-size: 10px; margin: 0 4px 0 0; padding: 0 10px; height: 33px; line-height: 33px; text-align: center; } #menu li.separator{ line-height: 33px; } #menu li.current a, #menu li a:hover{ /*color: #ACA099;*/ /* couleur des menus lors du passage de la souris */ color: #FF0000; } /* #menu li.current a b, #menu li a:hover b{ } End OF menu*/ .fade { margin: 0; padding: 0; } #contentLarge{ clear: both; text-align: justify; } .affich_date{ color: #FF0000; /* affichage de toute les dates et titres de news en rouge */ font-weight: bold; } .section_2_mid img, #contentLarge img{ float: left; margin: 0 10px 3px 0; padding: 0; } * html .section_2_mid img{ margin-bottom: -15px; } .section_2_sub { width: 332px; margin: 10px 0 0 0; padding: 0; } .section_2_sub_top { width: 332px; height: 11px; margin: 0; padding: 0; } .section_2_sub_mid { width: 302px; background: #4a362a; margin: 0; padding: 0 15px; } .Adm_section_2_sub_mid { width: 602px; background: #4a362a; margin: 0; padding: 0 15px; } * html .section_2_sub_mid { margin-top: -4px; } .section_2_sub_bottom { height: 7px; margin: 0; padding: 0; } .cleaner_with_height { clear: both; height: 1px; } #footer { color: #fff; background-image: url(../images/menu-red.png) ; margin-top: 20px; padding: 5px 0; text-align: center; } #footer a{ color: #fff; text-decoration: none; } #footer a:hover{ color: #fff; text-decoration: underline; } .cleaner, .clearfix:after { content:"."; display:block; height:0; clear:both; visibility:hidden; } .cleaner, .clearfix {display:inline-block;} /* Hide from IE Mac \*/ .cleaner, .clearfix {display:block;} /* End hide from IE Mac */ /*** PHOTOS ***/ /* #photos { } */ #photos .category{ float:left; width: 120px; height:150px; margin: 5px 10px; text-align: center; } #photos .photo{ float:left; width: 120px; height:120px; margin: 5px 10px; text-align: center; } /** NEws **/ .blockTitle { font-size: 16px; font-weight: bold; } .news_block{ } .news_block .news{ margin: 10px 0; } .news_block .title{ font-weight: bold; margin-bottom: 5px; } .news_block .content img{ float:left; margin: 0 4px 4px 0; } #news .entry { padding: 10px; margin-bottom: 10px; border-bottom: 1px solid white; } #news .entry h2{ font-size:16px; color:red; } #news .entry img{ float:left; margin: 0 6px 6px 0; } #news .entry h2 span.date{ float:left; padding-right:10px; } #news .entry h2 span.date:after{ content:' - '; } /*** ADMIN ***/ .adminTable { border-collapse: collapse; border: 1px solid white; } .adminTable img{ border:none; } .adminTable th{ background-color: #000; color: #FFF; } .adminTable td, .adminTable th{ padding: 3px; border: 1px solid white; } .adminTable .impair td{ background-color: #333; } #logout { margin-left: 780px; } img { border: none; }
Partager