Bonjour,
Je sous un débutant qui n'y connais pas grand chose en langage Css comme html.
Je vous expose mon soucis, j'ai crée un site pour ma team de counter-strike sous Nuked-Klan version 1.7.7.
Lorsque j'ai voulu changé de thème, l'installation c'est bien passé et quand je l'ai mis en ligne tous le théme etait décalé. (uniquement sous Firefox tandis que sous Internet Explorer tous est nickel) Le block du milieu est descendu sous le block de gauche.
Pour mieu vous en rendre compte voici le lien du site : http://vic3.clanfree.net/
Et voici un lien de ce que cela donne donné normallement : http://www.nkdeus.com/demo/index.php
Voici le code html du fichier Css :Et voici le code Html :
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
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371 /** * Feuille de style du thème deus_fullact /* Généralités */ html { background: #18191B url('../images/bg.jpg') no-repeat top center; } body { font: normal 0.7em Verdana, Arial, serif; color: #8e959f; margin: 0; padding: 0; } /* liens */ a { color: #53a7d3; text-decoration: none; outline: none; } a:hover { color: #4895bf; } /* classes diverses */ .clear { clear: both; } .reset { border: 0; margin: 0; padding: 0; } /* formulaires */ form { margin: 0; padding: 0; } input, select, textarea { font: normal 1em Verdana, Arial, serif; color: #8e959f; background: #161719; border: 1px solid #292a2c; margin-bottom: 2px; padding: 3px; } input[type=radio] { background: none; border: none; } /* Header */ #header { height: 268px; } #header h1, #header p { display: none; } /* login part */ #login { width: 100%; position: absolute; top: 0; left: 0; } #login h2 { display: none; } #login div.wrapper { width: 90%; max-width: 1400px; margin: auto; } #login div.box { width: 253px; margin: 5px 5px 0; float: right; } #login div.box .top { height: 25px; padding: 5px 0 5px 0; text-align: center; } #login div.box input.submit { width: 25px; height: 21px; margin: 0; padding: 0; border: none; vertical-align: top; } #login .top a { white-space: nowrap; } #login .top strong, #login div.bottom a:hover { color: white; } #login div.bottom { text-align: center; padding-left: 140px; } #login div.bottom a { font-size: 0.9em; font-weight: bold; text-transform: uppercase; color: #898d8e; } #login div.skin { margin-left: 8px; } #login div.skin h3 { color: white; font-size: 0.8em; margin: 0; padding: 3px 0; float: left; } #login ul#skins { width: 100px; text-align: center; font-weight: bold; color: #53a7d3; list-style: none; margin: 0; padding: 3px 0; float: left; overflow: hidden; } #login ul#skins li { display: none; } #login ul#skins li.selected { display: block; } div#login a.prev { float: left; } /* Footer */ #footer { height: 130px; background: url('../images/footer.jpg') no-repeat top center; } #footer div.wrapper { width: 90%; max-width: 1400px; margin: auto; } #footer div.wrapper p.nk { margin: 45px 0 0 0; padding: 35px 0 0 0; float: left; } #footer div.wrapper p.deus { text-align: right; margin: 45px 0 0 0; padding: 0; float: right; } #footer div.wrapper p.deus a { width: 110px; background: url('../images/icones/nkdeus-logo.gif') no-repeat top right; padding-top: 35px; display: block; } #footer div.wrapper p a { color: #415868; } #footer div.wrapper p a:hover { color: white; } /* Emballage */ #body { width: 90%; max-width: 1400px; margin: auto; } #blocks { width: 615px; float: left; } #body.large div#blocks { /* resize de div#blocks en case du mode large */ width: 190px; } /* Partie gauche */ #gauche { width: 190px; background: url('../images/blackline.jpg') repeat-y; float: left; } #gauche div.block { width: 175px; background: url('../images/g_block_bg.jpg') repeat-y center; margin: 0 15px 1em 0; overflow: hidden; } #gauche div.block h2 { height: 33px; color: #52aada; background: url('../images/g_block_titre.jpg') no-repeat center top; font-size: 1em; margin: 0; padding: 5px 0 0 10px; } #gauche div.block div.content { margin: 0 0.5em 0 0.5em; } #gauche div.block div.bottom { height: 11px; background: url('../images/g_block_bas.jpg') no-repeat center; } #gauche input { max-width: 90%; } #droite { width: 425px; float: left; } #droite div.block { width: 380px; background: black; margin-bottom: 10px; padding: 0 10px 10px 10px; } #droite div.block h2 { height: 26px; color: white; font-size: 1em; background: url('../images/block-droit-haut.jpg') no-repeat; margin: 0 -10px 0 -10px; padding: 5px 0 0 1em; } /* Partie droite */ #content { background: black; border: 1px solid #1b1c1e; margin-left: 615px; /* on retire la largeur du block de gauche */ padding: 0 0 1em 0; } #body.large #content { margin-left: 190px; } #content div.module { margin: 1em 0 0.5em 0; padding: 0 1em 0 1em; } /* style d'un block module (ex: news) */ #content div.module h2 { font-size: 1em; color: #52aada; background: url('../images/icones/module-puce.jpg') no-repeat center left; margin: 0 0 0.6em 1em; padding-left: 0.8em; } #content div.module div.content { /* contenu d'une news */ text-align: justify; } #content div.module div.bottom { height: 24px; background: url('../images/module-bottom-bg.jpg') repeat-x bottom; margin: 2em -0.7em 0 -0.7em; padding: 5px 0.7em 5px 0.7em; } #content div.module div.bottom p.infos { margin: 0; padding: 0; float: left; } #content div.module div.bottom p.coms { margin: 0; padding: 0; float: right; } #content div.module div.bottom p a { /* liens bottom */ color: #8e959f; } #content div.module div.bottom p a span { color: #54a9e2; } #content div.module div.bottom p a:hover span { text-decoration: underline; } #content div.module div.bottom p strong { color: white; } /* style d'un block centre/bas */ #content div.block { background: url('../images/icones/dot.jpg') repeat-x bottom; margin-top: 1em; padding: 1px; } #content div.block h2 { height: 23px; font-size: 1em; color: #52aada; background: url('../images/block-centre-haut.jpg'); margin: 0; padding: 10px 0 0 1em; } #content div.block div.content { padding: 0.5em 1em 0.5em 1em; } /* Code pour empecher les commentaires de news de prendre toute la largeur div#content div.module + div + br + table { width: 95%; margin: auto; } /**/
Je m'excuse d'avance car j'ai mis tous ce qu'il y avait dans les fichiers car je ne sais pas ce qu'il faut prendre exactement
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 <?php // -------------------------------------------------------------------------// // Nuked-KlaN - PHP Portal // // http://www.nuked-klan.org // // -------------------------------------------------------------------------// // This program is free software. you can redistribute it and/or modify // // it under the terms of the GNU General Public License as published by // // the Free Software Foundation; either version 2 of the License. // // -------------------------------------------------------------------------// define ("INDEX_CHECK", 1); @include ("conf.inc.php"); if (!defined("NK_OPEN")) { echo "<br /><br /><br /><div style=\"text-align: center;\"><big>Sorry, this website is momently closed, Please try again later.</big></div>"; exit(); } if (!defined("NK_INSTALLED")) { if (is_file("install.php")) { header("location: install.php"); } } else { if (is_file("install.php") || is_file("update.php")) { echo "<br /><br /><br /><div style=\"text-align: center;\"><big>Warning ! <b>install.php</b> and <b>update.php</b> must be removed before continuing !</big></div>"; exit(); } } include ("nuked.php"); $session = session_check(); if ($session == 1) $user = secure(); else $user = array(); $session_admin = admin_check(); $check_ip = banip(); if ($check_ip != "") { $url_ban = "ban.php?ip_ban=" . $check_ip; redirect($url_ban, 0); exit(); } if (isset($nuked_nude) && $nuked_nude != "") $im_file = $nuked_nude; else if (isset($page) && $page != "") $im_file = $page; else $im_file = "index"; // Securite par phpSecure.info if (ereg("\.\.", $theme) || ereg("\.\.", $language) || ereg("\.\.", $file) || ereg("\.\.", $im_file) || eregi("http\:\/\/", $file) || eregi("http\:\/\/", $im_file)) { die("<br /><br /><br /><div style=\"text-align: center;\"><big>What are you trying to do ?</big></div>"); } $file = trim($file); $im_file = trim($im_file); $theme = trim($theme); $language = trim($language); // Fin if ($nuked['nk_status'] == "closed" && $user[1] < 9 && $op != "login_screen" && $op != "login_message" && $op != "login") { include ("themes/" . $theme . "/colors.php"); translate("lang/" . $language . ".lang.php"); echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n" . "<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"fr\">\n" . "<head><title>" . $nuked['name'] . " :: " . $nuked['slogan'] . " ::</title>\n" . "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\" />\n" . "<meta http-equiv=\"content-style-type\" content=\"text/css\" />\n" . "<link title=\"style\" type=\"text/css\" rel=\"stylesheet\" href=\"themes/" . $theme . "/style.css\" />\n" . "<body style=\"background: " . $bgcolor2 . ";\"><div><br /><br /><br /><br /><br /><br /><br /><br /></div>\n" . "<table style=\"margin-left: auto;margin-right: auto;text-align: left;background: " . $bgcolor3 . ";\" cellspacing=\"1\" cellpadding=\"20\">\n" . "<tr><td style=\"background: " . $bgcolor1 . ";\" align=\"center\"><big><b>" . $nuked['name'] . " - " . $nuked['slogan'] . "</b></big><br /><br />\n" . _SITECLOSED . "</td></tr></table></body></html>"; } else if (($file == "Admin" || $page == "admin" || $nuked_nude == "admin") && $session_admin == 0) { include ("themes/" . $theme . "/colors.php"); include ("themes/" . $theme . "/theme.php"); translate("lang/" . $language . ".lang.php"); if (!isset($nuked_nude)) top(); include("modules/Admin/login.php"); if (!isset($nuked_nude)) { footer(); include("Includes/copyleft.php"); } } else { if ($file != "Admin" && $file != "Stats" && $file != "Members" && $page != "admin" && $nuked_nude != "admin" && $op != "smilies" && $session_admin == 1) setcookie($cookie_admin, ""); include ("themes/" . $theme . "/colors.php"); include ("themes/" . $theme . "/theme.php"); translate("lang/" . $language . ".lang.php"); if ($nuked['level_analys'] != -1) visits(); if (!isset($nuked_nude)) { if (defined("NK_GZIP") && @extension_loaded('zlib') && !@ini_get('zlib.output_compression') && @phpversion() >= "4.0.4") { ob_start("ob_gzhandler"); } top(); echo "<script type=\"text/javascript\" src=\"js/infobulle.js\"></script>\n" . "<script type=\"text/javascript\">InitBulle('" . $bgcolor2 . "', '" . $bgcolor3 . "', 2);</script>\n" . "<script type=\"text/javascript\">\n" . "<!--\n" . "document.write('<link rel=\"stylesheet\" href=\"css/jquery.thickbox.css\" type=\"text/css\" media=\"screen\" /><link rel=\"stylesheet\" href=\"css/jquery.autocomplete.css\" type=\"text/css\" media=\"screen\" />');\n" . "-->\n" . "</script>\n" . "<script type=\"text/javascript\" src=\"js/jquery.js\"></script>\n" . "<script type=\"text/javascript\" src=\"js/jquery.thickbox.js\"></script>\n" . "<script type=\"text/javascript\" src=\"js/jquery.bgiframe.js\"></script>\n" . "<script type=\"text/javascript\" src=\"js/jquery.dimensions.js\"></script>\n" . "<script type=\"text/javascript\" src=\"js/jquery.autocomplete.js\"></script>\n"; if ($nuked['nk_status'] == "closed" && $user[1] == 9) { echo "<table style=\"background: " . $bgcolor3 . ";\" width=\"100%\" cellspacing=\"1\" cellpadding=\"8\">\n" ."<tr><td style=\"background: " . $bgcolor2 . ";\" ><big><b>" . _YOURSITEISCLOSED . " :<br /><br/ >" . $nuked['url'] . "/index.php?file=User&op=login_screen</b></big></td></tr></table><br />\n"; } } if (is_file("modules/" . $file . "/" . $im_file . ".php")) { include("modules/" . $file . "/" . $im_file . ".php"); } else { include("modules/404/index.php"); } if (!isset($nuked_nude)) { if ($user[5] > 0 && !isset($_COOKIE['popup']) && $file != "User" && $file != "Userbox") { echo "<div id=\"popup_dhtml\" style=\"position:absolute;top:0;left:0;visibility:visible;z-index:10\"></div>\n" . "<script type=\"text/javascript\" src=\"js/popup.js\"></script>\n" . "<script type=\"text/javascript\">popup('" . $bgcolor2 . "', '" . $bgcolor3 . "', '" . _NEWMESSAGESTART . " " . $user[5] . " " . _NEWMESSAGEEND . "', '" . _CLOSEWINDOW . "', 'index.php?file=Userbox', 350, 100);</script>\n"; } footer(); include("Includes/copyleft.php"); echo "</body></html>"; } } mysql_close($db); ?>
Merci d'avoir lu mon topic
Bonne continuation ++
Partager