Bonjour tout le monde,

J'ai créé une page, malheureusement, le résutlat n'est pas le même entre IE7 et Firefox.

Je pense que le problème vient de mon code CSS (que je vous laisse ci-dessous).

Je mets aussi les deux captures d'écran qui vous montre le problème (autre informations est décalé avec firefox mais passe très bien sous IE7).

J'ai eu une fois ce problème, et la géniale CandiGirl m'avait dit de remplacer

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
/* links / footer */
#links_container
{ border-top: 1px solid; 
  border-bottom: 1px solid;
}
par ça

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
/* links / footer */
#links_container
{ border-top: 1px solid; 
  border-bottom: 1px solid;
  overflow:hidden;
}
Le problème est que je n'ai pas #links_container dans le code CSS de cete page.

Voici le code 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
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
/* global */
html{height: 100%;}
 
body
{ font-family: verdana, arial, sans-serif;
  padding: 0px;
  margin: 0px;
  font-size: .68em;
}
 
p
{ margin: 0px;
  padding: 0px 0px 16px 0px;
  line-height: 1.7em;
}
 
h1
{ font-family: arial, sans-serif;
  letter-spacing: .1em;
}
 
h2
{ margin: 0px;
  padding: 0px 0px 4px 0px;
  font-size: 100%;
}
 
img{border: 0px;}
 
a{outline: none;}
 
/* image positioning - left, right and center */
.left
{ float: left; 
  padding: 0px 8px 0px 0px;
}
 
.right
{ float: right; 
  padding: 0px 0px 0px 8px;
}
 
.center
{ display: block;
  text-align: center;
  margin: 0 auto;
}
 
/* block quote */
blockquote
{ margin: 20px 0px 20px 0px; 
  padding: 10px 20px 0px 20px;
  border-left: 8px solid;
}
 
/* unordered list */
ul
{ margin: 8px 0px 0px 16px;
  padding: 0px;
}
 
ul li
{ list-style-type: square;
  margin: 0px 0px 11px 0px; 
  padding: 0px;
}
 
/* ordered list */
ol
{ margin: 8px 0px 0px 24px;
  padding: 0px;
}
 
ol li
{ margin: 0px 0px 11px 0px; 
  padding: 0px;
}
 
/* main container */
#main
{ width: 780px;
  margin-left: auto; 
  margin-right: auto;
}
 
/* links above the logo / footer */
#links, #footer
{ margin-left: auto; 
  margin-right: auto;
  padding: 10px 21px 0px 19px;
  width: 720px;
  height: 26px;
  font-size: 94%;
  text-transform: uppercase;
}
 
#links{text-align: right;}
 
#footer{text-align: center;}
 
#links a, #footer a{text-decoration: none;}
 
#links a:hover, #footer a:hover{text-decoration: underline;}
 
/* logo */
#logo
{ margin-left: auto; 
  margin-right: auto;
  width: 760px;
  height: 100px;
  text-align: left;
}
 
#logo h1
{ margin: 0px;
  padding: 64px 0px 0px 19px;
  font-size: 150%;
  letter-spacing: .2em;
}
 
/* navigation menu */
#menu
{ height: 42px;
  width: 760px;
  margin-left: auto; 
  margin-right: auto;
}
 
#menu ul{margin: 0px auto;} 
 
#menu li
{ float: left; 
  margin: 0px; 
  padding: 0px;
} 
 
#menu li a 
{ display: block; 
  float: left; 
  height: 37px;
  text-decoration: none; 
  padding: 3px 19px 2px 19px;
  text-transform: uppercase;
} 
 
/* main content */
#content
{ margin-left: auto; 
  margin-right: auto;
  width: 760px;
  height: auto;
  padding: 0px;
  overflow: hidden;
} 
 
/* column 1 - contains sidebar items */
#column1
{ width: 207px;
  float: right;
  padding: 16px 0px 15px 0px;
}
 
.sidebaritem
{ text-align: left;
  width: 188px;
  float: left;
  margin: 0px 0px 25px 0px;
}
 
.sbihead
{ height: 14px;
  width: 188px;
  padding: 5px 0px 5px 19px;
  text-transform: uppercase;
}
 
.sbihead h1
{ padding: 0px; 
  margin: 0px; 
  font-weight: bold;
  font-size: 112%;
}
 
.sbicontent{padding: 14px 8px 8px 19px;}
 
.sbicontent p
{ line-height: 14px; 
  padding: 0px 0px 8px 0px;
}
 
.sbilinks{padding: 0px;}
 
.sbilinks ul{margin: 0px auto;} 
 
.sbilinks li 
{ margin: 0px; 
  float: left; 
  list-style: none; 
} 
 
.sbilinks li a , .sbilinks li a:hover
{ float: left; 
  height: 16px;
  text-decoration: none; 
  padding: 5px 0px 4px 19px;
  width: 188px;
  border: 0px;
} 
 
/* column 2 - page content */
#column2
{ text-align: justify;
  width: 512px;
  float: left;
  padding: 12px 3px 15px 19px;
}
 
#column2 h1
{ padding: 6px 0px 4px 0px; 
  margin: 0px 0px 12px 0px; 
  border-bottom: 1px solid;
  font-size: 150%;
  text-transform: uppercase;
  font-weight: normal;
}
 
.sidebaritem a, #column2 a, .sidebaritem a:hover, #column2 a:hover
{ padding: 0px 0px 2px 0px;
  text-decoration: none;
  border-bottom: 1px dashed;
}
 
.sidebaritem a:hover, #column2 a:hover{border-bottom: 1px solid;}
 
/* contact page - form layout */
form{margin-top: 0px;}
 
div.row
{ clear: both;
  width: 448px;
}
 
div.row span.formlabel 
{ float: left;
  width: 150px;
  text-align: left;
}
 
div.row span.forminput
{ float: right;
  text-align: right;
} 
 
div.spacer
{ clear: both;
  width: 80px;
}
 
input, textarea
{ width: 259px; 
  font-family: verdana, arial, sans-serif;
  border: 1px solid;
  font-size: 100%;
  margin: 2px;
}
 
.submit
{ font-family: verdana, arial, sans-serif;
  border: 1px solid;
  width: 70px;
  height: 22px;
  cursor: pointer;
  font-size: 100%;
}
Je joins aussi les deux images qui montrent bien la différence.

Merci d'avance pour votre aide "so precious".

beegees