bonjour, voila je remarque que mon site fonctionne tres bien en 1152*854 mais que pour une autre resolution inferieur mes div se mon div publicite se met en dessous d'une autre div ou dessus.
voici le code 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr"> <div ="conteneur"> <head> <meta http-equiv="content-Type" content="text/html; charset=iso-8859-1" /> <!--<meta http-equiv="content-type" content="text/html; charset=ISO-8859-15" />--> <meta name="description" content="" /> <meta name="keywords" content="" /> <meta name="subject" content="" /> <meta name="author" content="idealeparution" /> <meta name="revisit-after" content="10 days" /> <meta name="robots" content="index, follow" /> <meta name="sitename" content="idealparution.fr" /> <link href="/css/style.css" type="text/css" rel="stylesheet" /> <title>IdealeParution: </title> </head> <body> <div id="header"> </div> <!-- end #header --> <div id="menu"> menu.php </div> <!-- end #menu --> <div id="page"> <div id="content"> content </div> <!-- end #content --></div> <div id="publicite"> publicite.php </div> <!-- end #sidebar --> <div style="clear: both;"></div> <!-- end #page --> <div id="footer"> <p> <a href="/contactez/index.php">[Contactez-nous]</a> <a href="/conditions/index.php">[Conditions générales d'utilisation]</a> <a href="/concepteur/index.php">[Concepteur du site]</a> <a href="/UneAnnonce/afficherAnnonce.php"/>[Nos partenaires]</a> </p> </div> </div> <script type="text/javascript"> init(); </script> <!-- end #footer --> </body> </html>
et 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 body{ font-family: helvetica,arial; font-size: 14px; color: #787878; width:90%; height:500px; margin: auto; }/* p form, .pages { text-align:center; } /* Header */ #header { height: 150px; margin:auto; background: url(../images/banniere.gif) no-repeat left top; } #conteneur { position:relative; } .menu1 { margin:0; list-style:none; height:35px; background:#fff url(../images/button1.gif); position:relative; border:1px solid #000; border-width:1px; border-bottom:1px solid #444; } .menu1 li {float:left;} .menu1 li a {display:block; float:left; height:35px; line-height:35px; color:#FFFFFF; text-decoration:none; font-size:12px; font-family:trebuchet ms,"helvetica", arial, verdana, sans-serif; font-weight:bold; text-align:center; padding:0 0 0 8px; cursor:pointer;} .menu1 li a b {float:left; display:block; padding:0 16px 0 8px;} .menu1 li.current a {color:#fff; background:url(../images/button3.gif);} .menu1 li.current a b {background:url(../images/button3.gif) no-repeat right top;} .menu1 li a:hover {color:#fff; background:#000 url(../images/button2.gif);} .menu1 li a:hover b {background:url(../images/button2.gif) no-repeat right top;} .menu1 li.current a:hover {color:#fff; background:#008DCF url(../images/button3.gif); cursor:default;} .menu1 li.current a:hover b {background:url(../images/button3.gif) no-repeat right top;} .menu1 li.contact{margin-left:5px;} /* Page */ #page { width: 100%; margin:0px; padding:0px; height: 100%; } /* Content */ #content {margin-top:10px; /*position: relative;*/ float:left; width:60%; padding:0px; } .icone { position:absolute; margin-left:20px; } .post { position:relative; } .post .title { padding: 15px 0 5px 20px; color: #5C5C5C; position:relative; } .post .title a { background: none; color: #5C5C5C; } .post.entry p { font-size:1.3em; } .entry p{ text-align: center; position:relative; margin: auto; width:100%; } form#page { position:relative; HEIGHT:100%; } #publicite { padding-top:10px; float:right; } #container {padding-left:10px; position: relative; float:left; text-align:center; } /* Sidebar */ #sidebar { float: right; width: 260px; border-bottom: #D2D4C9; color: #787878; position:relative; list-style: none ; margin: 0 ; padding: 0 ; } #conteneur { position:relative; } /* Footer */ #footer { width: 100%; margin:auto; margin-top: 50px; background: #7FCAF1; color: #416110; } #footer p { margin: 0; line-height: normal; font-size: 0.9em; text-align: center; } #footer a { color:#28166f; text-decoration:none;
MERCI de votre aide
Partager