Précédent   Forum des professionnels en informatique > Webmasters - Développement Web > CSS
CSS Forum d'entraide sur l'utilisation des feuilles de style CSS. Avant de poster : Cours CSS, FAQ CSS, Galerie CSS
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Proposer ce sujet en actualité
 
Outils de la discussion
Publicité
'
Vieux 17/11/2010, 15h57   #1
Invité de passage
 
Inscription : août 2009
Messages : 5
Détails du profil
Informations forums :
Inscription : août 2009
Messages : 5
Points : 0
Points : 0
Par défaut Problème affichage internet Explorer et Firefox

Salut à tous !
j'ai un problème de compatibilité juste pour une petite partie de mon blog (wordpress).
Comme un dessin vaut mieux qu'un long discours

Comment faire pour avoir le résultat de FireFox dans Internet Explorer. Aidez moi svp, je suis peeeeeeerrrdu !

Merci à tous


Code css :
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
/* 
Theme Name: Frogz Theme 
Theme URI:  <a href="http://www.champigneullesbasketball.fr/blog/" target="_blank">http://www.champigneullesbasketball.fr/blog/</a> 
Description: Mon premier theme cree par Ludovic Vincent 
Version: 0.1 
Author: Ludovic Vincent 
 
Frogz Theme by Ludovic Vincent  
 
*/ 
 
body { 
           font-family: Lucida Grande, Arial, Helvetica, Sans-serif; 
           font-size: 0.8em; 
           text-align: left; 
 
           background-color: #999393; 
 
           margin: 0; 
} 
 
 
#page { 
           margin: 0 auto 0 auto; 
           width: 900px; 
 
} 
 
 
#header { 
           font-family: Trebuchet MS, Lucida Grande, Arial, Helvetica, Georgia, Sans-serif; 
           float: left; 
           background:url(/blog/wp-content/themes/frogztheme/composants/headermorceau.gif); 
           background-repeat: x; 
           width: 100%; 
           padding: 0 0px 0px 0px; 
           height: 181px; 
 
 
} 
 
 
#logoheader { 
           float: left; 
           width: 347px; 
           margin-bottom: 20px; 
           background:url(/blog/wp-content/themes/frogztheme/composants/logofr.png); 
           height: 142px; 
           background-color:transparent; 
           background-repeat:no-repeat; 
           margin-top: 5px; 
           margin-left: 5px; 
} 
 
#loupe { 
           background:url(/blog/wp-content/themes/frogztheme/composants/loupe.png); 
           margin-top: 153px; 
           margin-left: 300px; 
           height: 27px; 
           width: 27px; 
           float: left; 
 
} 
 
#searchbar { 
 
           margin-left: 680px; 
           margin-top: 155px; 
 
} 
 
#contenu { 
           float: left; 
           width: 900px; 
           margin-bottom: 20px; 
           background-color: #dfe6e7; 
           margin-left:0 px; 
} 
 
#content { 
           margin-top: 0px; 
           float: left; 
           width: 660px; 
           margin-left: 0px; 
           background-color: #dfe6e7; 
} 
 
.logohautsidebar { 
           background:url(/blog/wp-content/themes/frogztheme/composants/logosansfrogz.png); 
           height:120px; 
           width:228px; 
           margin-top: 10px; 
 
 
} 
 
.sidebar { 
           float: right; 
           width: 240px; 
           background-color: #dfe6e7; 
           margin-right: 0px; 
           height: 100%; 
 
} 
 
#header h1 { 
        padding: 0 20px 0 0; 
        font-size: 2em; 
        text-align: right; 
} 
 
#header p { 
        padding: 0 20px 0 0; 
        font-size: 1em; 
        text-align: right; 
} 
 
#content h2 { 
        font-size: 1.3em; 
        margin-left: 20px; 
        padding: 0px; 
        margin-top: 0px; 
        margin-bottom: 0px; 
} 
 
 
.commentaire { 
        float: left; 
        font-size: 0.8em; 
        color: #999; 
 
} 
 
.postmetadata {         
        margin-left:18px; 
        margin-top: 0px; 
        height: 40px; 
        width: 448px; 
        margin-bottom: 16px; 
        background-image:url(/blog/wp-content/themes/frogztheme/composants/bandeau.png); 
 
} 
 
 
.post-date { 
 
padding-left:17px; 
float:left; 
font-weight:bold; 
margin-top:11px; 
font-size: 1.7em; 
} 
 
 
 
 
.postinfo{ 
 
 
        font-size: 1em; 
        color: #999; 
        margin-left: 25px; 
        margin-top: 13px; 
        float: left; 
} 
 
.postcomm{ 
        font-size: 1.1em; 
        color: #999; 
        margin-left: 100px; 
        margin-top: 13px; 
        float: left; 
 
} 
 
 
 
.postmetadata p { 
        font-size: 0.8em; 
        color: #999; 
        margin-left: 0px; 
        margin-top: 0px; 
} 
 
.post_content { 
        font-size: 1em; 
        color: #555; 
        margin-left: 20px; 
        width: 470px; 
} 
 
.navigation { 
margin: 50%; 
} 
 
.sidebar ul{ 
        list-style-type: none; 
        margin: 0; 
        padding: 0 10px; 
} 
 
 
 
.sidebar h2 { 
        font-size: 1.2em; 
} 
 
.positiontextesidebar { 
 
} 
 
#footer p{ 
        padding-top: 40px; 
        font-size: 1em; 
        text-align: center 
} 
 
.comments-template{ 
    margin: 10px 0 0 0; 
        margin-left: 20px; 
} 
 
.comments-template ol{ 
    margin: 10px; 
    padding: 0 0 0 15px; 
    list-style: none; 
} 
 
.comments-template ol p{ 
    font-family: Trebuchet MS, Arial, Hevletica, Sans-serif; 
    font-size: 0.9em; 
} 
 
.comments-template ol li{ 
    margin: 10px 0 0 0; 
    line-height: 15px; 
    padding: 0 0 10px; 
} 
 
.comments-template h2, .comments-template h3{ 
    font-size: 1.2em; 
 
} 
 
.commentmetadata{ 
    font-size: 0.9em; 
} 
 
.comments-template p.nocomments{ 
    padding: 0; 
} 
 
.comments-template textarea{ 
    font-family: Trebuchet MS, Arial, Hevletica, Sans-serif; 
    font-size: 0.9em; 
 
} 
 
.cadre_commentaires { 
        border-bottom: 1px solid #ccc; 
        border-top: 1px solid #ccc; 
 
} 
 
a { 
        color: #555; 
        text-decoration: none; 
} 
 
a:hover { 
        color: #777; 
        text-decoration: underline; 
} 
 
#content h2 a{ 
       font-size: 1.2em; 
       font-family: Century Gothic, Lucida Grande, Verdana, Arial, Sans-Serif; 
       color: #006699; 
} 
 
#content h2 a:hover{ 
       color: #555; 
} 
 
 
 
 
 
#footer { 
        font-size: 1em; 
        background:#12748F;       
        clear: both; 
        width: 900px; 
        height: 110px; 
        background-image:url(/blog/wp-content/themes/frogztheme/composants/headermorceau.gif) ; 
        background-color: transparent; 
 
 
}


Ensuite le HTML


Code html :
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
<div class="sidebar"> 
 
<div class="logohautsidebar" 
</div> 
 
<div class="positiontextesidebar"> 
<ul> 
 
<p><?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?> 
 
 
 
<!-- calendrier --> 
<li id="calendar"><h2>Calendrier</h2> 
 
    <?php get_calendar(); ?> 
 
</li> 
 
<!-- categories --> 
<li><h2>Categories</h2> 
 
        <ul> 
        <?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0'); ?> 
 
        </ul> 
 
    </li> 
 
<!-- archives --> 
<li><h2>Archives</h2> 
 
        <ul> 
        <?php wp_get_archives('type=monthly'); ?> 
 
        </ul> 
    </li> 
 
</li> 
 
<!-- abonnement flux rss --> 
<li><h2>Abonnez-vous au blog !</h2> 
 
<ul> 
 
<li><a href="<?php bloginfo('rss2_url'); ?>" title="Flux RSS des articles">Flux RSS des articles</a></li> 
<li><a href="<?php bloginfo('comments_rss2_url'); ?>" title="Flux RSS des commentaires">Flux RSS des commentaires</a></li> 
 
<?php endif; ?></p> 
 
</ul> 
 
 
 
</div> 
</div>
Images attachées
Type de fichier : gif help.gif (88,9 Ko, 2 affichages)
ludo54 est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 18/11/2010, 09h54   #2
Membre éclairé
 
sébastien courjean
Inscription : novembre 2010
Messages : 204
Détails du profil
Informations personnelles :
Nom : sébastien courjean
Localisation : France, Indre et Loire (Centre)

Informations forums :
Inscription : novembre 2010
Messages : 204
Points : 319
Points : 319
Déjà il y a des erreurs dans le HTML avec des balises non fermées, je te donne sans le PHP le bon HTML, de plus au lieu de nous donner le PHP pourrais tu nous donner le HTML générer par ta page si le bug est toujours présent.

Code :
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
<div class="sidebar">
	<div class="logohautsidebar"></div>
	<div class="positiontextesidebar">
		<ul>
			<p>
				<!-- calendrier --> 
				<li id="calendar">
					<h2>Calendrier</h2> 
				</li>
				<!-- categories --> 
				<li>
					<h2>Categories</h2>
					<ul>
					</ul>
				</li>
				<!-- archives --> 
				<li>
					<h2>Archives</h2>
					<ul>
					</ul>
				</li>
				<!-- abonnement flux rss --> 
				<li>
					<h2>Abonnez-vous au blog !</h2>
				<ul>
					<li><a href="#" title="Flux RSS des articles">Flux RSS des articles</a></li>
					<li><a href="#" title="Flux RSS des commentaires">Flux RSS des commentaires</a></li>
				</ul>
			</p>
		</ul>
	</div>
</div>
__________________
Sébastien Courjean
Développeur Web
scourjean@cyres.fr
http://www.cyres.fr/
scourjean est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse Proposer ce sujet en actualité
Outils de la discussion



Fuseau horaire GMT +2. Il est actuellement 17h45.


 
 
 
 
Partenaires

Hébergement Web