Bonjour à tous,
Tout est dans le titre : il me semble bien que la présence desdans mes pages perturbe la lecture des fichiers css par IE9 et IE10... Alors que l'affichage est ok sur IE7/8 et 11...
Code php : Sélectionner tout - Visualiser dans une fenêtre à part <?php include ("xxx.php");?>
Par ex, le bloc_page ne se centre pas, le margin du .contenuPage n'est pas pris en compte, le margin-top du footer non plus...
Le corps de page en revanche est bien affiché (le contenu de la section .contenuPage)...
Je m'arrache les cheveux !
Est-ce possible ??? Avez-vous déjà rencontré ce problème ?
J'ai beau regarder mes fichiers il me semble que ma syntaxe est correcte mais j'ai peut-être fait une erreur de code... Dans la découpe et l'insertion des include peut-être ?
Merci par avance pour votre aide.
index.php
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 <?php include ("top_head.php"); ?> <title>XXXXXX | XXXXXX</title> <meta name="description" content=""> <meta name="keywords" content=""> <meta name="author" content=""> <meta name="owner" content=""> <meta name="robots" content="noindex,nofollow"> <meta http-equiv="expires" content=""> <meta http-equiv="content-language" content="fr"> <?php include ("bottom_head.php"); ?> <nav id="menuNavigation"> <ul id="itemsNavigation"> <li id="home"><img id="visuelHome" src="Images/home.png" /></li> <li id="edito"><div id="cadreEditoChecked">XXXX</div></li> <li id="films"><div id="cadreFilms"><a class="lienBarreNav" href="films.php">XXXX</a></div></li> <li id="talent"><div id="cadreTalent"><a class="lienBarreNav" href="talent.php">XXXX</a></div></li> <li id="gdsMoments"><div id="cadreGdsMoments"><a class="lienBarreNav" href="grands_moments.php">XXXX</a></div></li> </ul> </nav> <section class="contenuPage"> <div id="vignettesEdito"> <a href="films.php"><img id="cadreVignetteFilms" src="Images/vignetteFilms.jpg" /></a> <a href="talent.php"><img id="cadreVignetteTalent" src="Images/vignetteTalent.jpg" /></a> <a href="photos.php"><img id="cadreVignetteGdsMoments" src="Images/vignetteGdsMoments.jpg" /></a> </div> <div class="filetHorizontal"></div> <div id="portraitEditoNews"> <div id="portraitEdito"> <div id="portrait"><img id="portraitL" src="Images/tL.jpg" /></div> <div id="texteEdito"> <p id="titreEdito">XXXXXXXX</p> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. <br /><br />Quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. </p> </div> </div> <div id="news"> <div id="titreNews"> <div id="visuelNews"><img src="Images/news.png" /></div> <div id="texteTitreNews">A la Une</div> </div> <div id="numbNews">15 !</div> <div id="contNews">XXXXXXXXXXXXXXXXXXXX</div> </div> </div> </section> <?php include ("footer.php"); ?>
top_head.php
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 <!DOCTYPE html> <html> <head> <link href="http://allfont.net/css/?fonts=arial-narrow" rel="stylesheet" type="text/css" /> <meta charset="utf-8" /> <meta name="viewport" content="user-scalable=yes, initial-scale=1.0, maximum-scale=4.0, width=device-width"> <link rel="stylesheet" href="style.css" /> <!--[if lt IE 9]> <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> <!--[if IE]> <link rel="stylesheet" href="style_ie.css" /> <![endif]--> <!--[if lte IE 8]> <link rel="stylesheet" href="style_ie8etInf.css" /> <![endif]-->
bottom_head.php
Code html : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8 <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script> </head> <body> <div id="bloc_page"> <header> <img id="visuelHeaderMaxRes" src="Images/header.jpg" /> <img id="visuelHeaderMinRes" src="Images/headerMinRes.jpg" /> </header>
footer.php
Code html : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7 <footer> <img id="visuelFooterMaxRes" src="Images/footer.jpg" /> <img id="visuelFooterMinRes" src="Images/footerMinRes.png" /> </footer> </div> </body> </html>
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
199
200
201
202
203
204
205
206 body{ margin: 0; min-width: 320px; background-color: #e0e0e0; font-family: arial, sans-serif; color: #606060; } #bloc_page{ background-color: white; width: 950px; margin: 10px auto 10px auto; position: relative; border: 0px solid black; } a{ text-decoration: none; } a img{ border: none; } /* HEADER //////////////////////////////////////////////////////////////////////////////////////// */ header{ border: 0px solid red; margin-bottom: 0px; } #visuelHeaderMaxRes{ width: 100%; vertical-align: bottom; } #visuelHeaderMinRes{ display: none; } /* FOOTER /////////////////////////////////////////////////////////////////////////////////////////////////// */ footer{ border: 0px solid red; margin-top: 50px; } #visuelFooterMaxRes{ width: 100%; vertical-align: bottom; } #visuelFooterMinRes{ display: none; } /* NAVIGATION /////////////////////////////////////////////////////////////////////////////////////////////////// */ ul{ padding: 0; margin: 0; border: 0px solid red; background-color: #e0e0e0; font-size: 11px; font-weight: bold; } #menuNavigation{ border-right: 1px solid #a0a0a0; height: 44px; } nav li{ display: inline-block; height: 44px; } .lienBarreNav{ color: #606060; } #home, #visuelHome{ vertical-align: top; } #edito, #films, #talent, #gdsMoments{ padding-left: 35px; } #edito, #films, #talent{ border-right: 1px solid #a0a0a0; padding-right: 35px; } #cadreEdito, #cadreFilms, #cadreTalent, #cadreGdsMoments, #cadreEditoChecked, #cadreFilmsChecked, #cadreTalentChecked, #cadreGdsMomentsChecked{ padding-top: 15px; padding-left: 3px; } #cadreEdito{ border-left: 6px solid #d50165; } #cadreEditoChecked{ border-left: 6px solid #d50165; border-bottom: 1px solid #d50165; } #cadreFilms{ border-left: 6px solid #f06a13; } #cadreFilmsChecked{ border-left: 6px solid #f06a13; border-bottom: 1px solid #f06a13; } #cadreTalent{ border-left: 6px solid #b3d14b; } #cadreTalentChecked{ border-left: 6px solid #b3d14b; border-bottom: 1px solid #b3d14b; } #cadreGdsMoments{ border-left: 6px solid #00a5d5; } #cadreGdsMomentsChecked{ border-left: 6px solid #00a5d5; border-bottom: 1px solid #00a5d5; } /* CONTENU PAGES /////////////////////////////////////////////////////////////////////////////////////////////////// */ .contenuPage{ border: 0px solid red; margin: 15px 15px 0 15px; } .bold{ font-weight: bold; } .orangeBold{ font-weight: bold; color: #f06a13; } .vertBold{ font-weight: bold; color: #b3d14b; } .bleu{ color: #00a5d5; } .bleuBold{ font-weight: bold; color: #00a5d5; } /* PAGE EDITO //////////////////////////////////////////////////////////////////////////////////////// */ #cadreVignetteFilms{ border-bottom: 8px solid #f06a13; } #cadreVignetteTalent{ border-bottom: 8px solid #b3d14b; } #cadreVignetteGdsMoments{ border-bottom: 8px solid #00a5d5; } .filetHorizontal{ border-top: 1px solid #a0a0a0; margin-top: 20px; } #portraitEditoNews{ border: 0px solid red; margin-top: 20px; text-align: left; } #portraitEdito, #news, #portrait, #texteEdito{ display: inline-block; } #portraitEdito{ border-bottom: 8px solid #d50165; vertical-align: bottom; width: 66%; } #portraitL{ vertical-align: bottom; } #portrait{ border: 0px solid green; vertical-align: bottom; } #texteEdito{ border: 0px solid green; margin-left: 20px; width: 64%; } #titreEdito{ font-weight: bold; font-size: 20px; } #news{ background-color: #e0e0e0; border: 0px solid blue; width: 33%; vertical-align: top; padding-top: 20px; padding-bottom: 65px; text-align: center; color: #a0a0a0; } #titreNews{ border-bottom: 1px solid #a0a0a0; margin-left: 15px; margin-right: 15px; } #visuelNews, #texteTitreNews{ display: inline-block; } #texteTitreNews{ font-size: 40px; margin-left: 5px; } #numbNews{ font-size: 50px; font-weight: bold; color: #606060; margin-top: 20px; margin-bottom: 10px; } #contNews{ color: #606060; margin-left: 10px; margin-right: 10px; }
Partager