Bonjour
Oui je sais c'est le 1er janvier et vous êtes surment à vous remettre de votre fête. mais y en a qui fête rien... Ben oui j'aime pas et puis je suis seul alors à part fêter ça avec mon PC... Enfin bref pas le sujet.
Durant mes vacances je me suis occupée à refaire le design de mon humble site perso, <lien url="http://www.gametest.fr.">www.gametest.fr.</lien>
Tout content d'en avoir terminé je le met en ligne et demande à un pote un avis. Et là catastrophe, el bougre m'annonce qu'IE m'affiche me menu de droite en dessous de ma fenêtre principal de gauche. Furieu j'essai de trouver une solution mais rien n'y fait. Firefox n'affiche aucun décalage, tandis qu'IE n'en fait qu'à sa tête...
VOici le code de l'index :
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 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
| <!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" lang="fr">
<head>
<title>Gametest</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" media="screen" type="text/css" title="Gametest" href="index.css" />
<link rel="shortcut icon" href="image/manette.ico">
<!--<meta http-equiv="refresh" content="300">-->
</head>
<body>
<!--Bannière du haut-->
<div id="logo">
</div>
<div id="une">
<br />
<div class = "diapo">
<?
include("diapo.php");
?>
</div>
</div>
<!--Menu principal haut en dessous de bannière-->
<div id="menu_principal">
<a href="http://www.gametest.fr">Accueil</a> |
<a href="http://www.gametest.fr/index.php?page=test">Test</a> |
<a href="http://www.gametest.fr/index.php?page=demo">Test Démo</a> |
<a href="http://www.gametest.fr/index.php?page=dossier">Dossier</a> |
<a href="http://www.gametest.fr/index.php?page=recherche">Recherche</a> |
<a href="http://www.gametest.fr/index.php?page=achat">Achat</a> |
<a href="http://www.gametest.fr/index.php?page=contact">Contact</a> |
<a href="http://www.gametest.fr/index.php?page=partenaire">Partenaire</a>
</div>
<!--Corps, à droite-->
<div id="corps_haut">
<!--image corps haut-->
</div>
<div id="corps">
<?php
if (isset($_GET['page']))
{
if ($_GET['page'] == "test")
{
include("test.php");
}
elseif ($_GET['page'] == "recherche")
{
include("recherche.php");
}
elseif ($_GET['page'] == "demo")
{
include("demo.php");
}
elseif ($_GET['page'] == "dossier")
{
include("dossier.php");
}
elseif ($_GET['page']=="contact")
{
include ("contact.php");
}
elseif ($_GET['page'] == "affichagetest")
{
include("affichagetest.php");
}
elseif ($_GET['page'] == "affichagedemo")
{
include("affichagedemo.php");
}
elseif ($_GET['page']=="affichagenews")
{
include("affichagenews.php");
}
elseif ($_GET['page'] == "affichagedossier")
{
include("affichagedossier.php");
}
elseif ($_GET['page']=="envoi")
{
include("envoi.php");
}
elseif ($_GET['page']=="achat")
{
include("achat.php");
}
elseif ($_GET['page']=="recherche")
{
include("recherche.php");
}
elseif ($_GET['page']=="commentaire")
{
include("commentaire.php");
}
elseif ($_GET['page']=="partenaire")
{
include("partenaire.php");
}
else
{
include("news.php");
}
}
else
{
include("news.php");
}
?>
</div>
<div id="corps_bas">
<!--image corps bas-->
</div>
<!--Menu droite-->
<div id="menu_haut">
<!--image bas du menu-->
</div>
<div id="menu_droite">
<div class="pub_carre_google">
<script type="text/javascript"><!--
google_ad_client = "pub-1616642043521998";
//300x250, date de création 29/12/07
google_ad_slot = "4572586930";
google_ad_width = 300;
google_ad_height = 250;
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
<h1>TEST</h1>
<br />
<div class="minitest">
<?
include("minitest.php");
?>
</div>
<h1>DEMO</h1>
<br />
<div class="minidemo">
<?
include("minidemo.php");
?>
</div>
<h1>DOSSIER</h1>
<br />
<div class="minidossier">
<?
include("minidossier.php");
?>
</div>
<h1>ACTU JEUX VIDEO</h1>
<div class="actujv">
<script type="text/javascript" src="http://news.webplanete.net/javascript.php?sid=4753cffce1cef&fid=60¬ime&nosrc"></script>
</div>
<a href="http://news.webplanete.net">
<img src="http://news.webplanete.net/images/powered-wp-fr_121x23_grey.gif" width="121" height="23" alt="News propulsées par WebPlanete.net" border="0" />
</a>
</div>
<div id="menu_bas">
<!--image bas du menu-->
</div>
<!--pied de la page-->
<div id="pied_de_page">
<br />
© 2007 GAMESTEST.FR- Tous droits réservés <br />
Designed by - Ryuuku - <br />
<a title=" Site déposé sur CopyrightFrance.com " href="http://www.copyrightfrance.com/phtml/p_logo1.php" target="_blank"><img border="0" src="fond/logo.gif" alt=" CopyrightFrance.com "></a>
<div id="validation">
<img
src="http://www.w3.org/Icons/valid-xhtml10"
alt="Valid XHTML 1.0 Strict" height="31" width="88" />
<img
src="http://www.w3.org/Icons/valid-css"
alt="Valid XHTML 1.0 Strict" height="31" width="88" />
</div>
</div>
</body>
</html> |
Voici le code du CSS :
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 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
|
/*Général*/
body
{
width :960px;
margin :auto;/* Pour centrer notre page */
margin-top: 20px;/* Pour éviter de coller avec le haut de la fenêtre du navigateur. Essayez d'enlever pour voir ! */
margin-bottom: 20px;/* Idem pour le bas du navigateur */
background-color: #82829a;/* Une petite image de fond pour éviter d'avoir un vieux fond blanc :p */
font-family:Verdana;
font-size:12px;
}
form
{
text-align:center;
}
h1
{
text-align:center;
color:white;
font-size:0.9em;
margin-bottom:0px;
background-image: url("fond/menu_h3.png");
background-repeat: no-repeat;
/*background-color: #CC0000;*/
}
h3
{
text-align:center;
color:white;
font-size:0.9em;
margin-bottom:0px;
background-image: url("fond/h3.png");
background-repeat: no-repeat;
}
h2
{
background-image: url("fond/test_h3.png");
color:white;
height:26px;
}
a
{
color : black;
}
.image
{
text-align:center;
}
#center
{
text-align:center;
}
/*L'en-tête*/
#logo
{
width: 160px;
height: 140px;
background-image: url("fond/logo.png");
background-repeat: no-repeat;
/*border : 1px solid black;*/
margin:0px;
float : left;
}
#logo a
{
color:black;
}
#une
{
height: 140px;
margin-left: 160px;
background-image: url("fond/ban.png");
background-repeat: no-repeat;
/*border : 1px solid black;*/
}
.diapo
{
width:770px;
height:110px;
margin-left:10px;
background-image: url("fond/diapo.png");
background-repeat: no-repeat;
/*border : 1px solid black;*/
}
/*menun_principal*/
#menu_principal
{
height:20px;
text-align:center;
font-size:0.9em;
font-weight:bold;
list-style-type:none;
margin-left:93px;
margin-right:93px;
background-image: url("fond/menu_principal.png");
background-repeat: no-repeat;
margin-bottom:10px;
/*border: 1px Solid Black;*/
}
/*corps*/
#corps_haut
{
float:left;
width : 620px;
height:10px;
background-image: url("fond/corps_haut.png");
background-repeat: no-repeat;
/*border: 1px Solid Black;*/
}
#corps
{
float:left;
background-color:white;
border-right : 1px solid #bdbdbd;
width : 610px;
height: 820px;
padding: 5px;
text-align:justify;
background-image: url("fond/corps.png");
overflow:auto;
}
#corps_bas
{
float:left;
width : 620px;
height:10px;
background-image: url("fond/corps_bas.png");
background-repeat: no-repeat;
margin-bottom:10px;
/*border: 1px Solid Black;*/
}
/*menu de droite*/
#menu_haut
{
height:10px;
background-image: url("fond/menu_haut.png");
background-repeat: no-repeat;
margin-left:620px;
/*border:1px solid black;*/
}
#menu_droite
{
margin-left:620px;
height: 820px;
padding: 5px;
text-align:justify;
background-image: url("fond/menu_droite.png");
background-color:white;
/*border:1px solid black;*/
}
#menu-droite h3
{
background-image: url("fond/menu_h3.png");
background-repeat: no-repeat;
}
#menu_bas
{
height:10px;
background-image: url("fond/menu_bas.png");
background-repeat: no-repeat;
margin-left:620px;
/*border:1px solid black;*/
}
.pub_carre_google
{
text-align:center;
margin-bottom:5px;
/*border:1px solid black;*/
}
.minitest
{
text-align:center;
font-size:0.9em;
font-weight:bold;
list-style-type:none;
/*border:1px solid black;*/
}
.minidossier
{
text-align:center;
font-size:0.9em;
font-weight:bold;
list-style-type:none;
margin-bottom:5px;
/*border:1px solid black;*/
}
.minidemo
{
text-align:center;
font-size:0.9em;
font-weight:bold;
list-style-type:none;
margin-bottom:5px;
/*border:1px solid black;*/
}
.actujv
{
height:200px;
overflow:auto;
margin-top:5px;
margin-bottom:5px;
font-size:0.9em;
font-weight:bold;
list-style-type:none;
/*border:1px solid black;*/
}
/*news*/
.news
{
border-top:1px solid #bdbdbd;
padding:5px;
}
.news img
{
float:left;
padding : 4px;
/*border:1px solid black;*/
}
.news p
{
padding : 5px;
}
.news a
{
color:black;
}
.news p
{
margin-top:0px;
}
.news
{
margin:auto;
}
.news h3
{
background-image: url("fond/news_h3.png");
background-repeat: no-repeat;
margin-left:163px;
}
/*signature*/
.signature
{
text-align:right;
font-style:italic;
font-family:"Black Chancery", Verdana, sans-serif;
}
/*commentaire*/
.commentaire a
{
font-style:italic;
color:black;
padding : 5px;
}
/*page*/
.page
{
text-align:center;
}
.page a
{
color:black;
}
/*divers?*/
#partenaire a
{
font-weight:bold;
}
.contenu a
{
color:black;
}
.dossier a
{
color:white
}
.dossier p
{
margin-top:0px;
}
.dossier
{
margin:auto;
}
.test h3
{
background-image: url("fond/test_h3.png");
background-repeat: no-repeat;
}
.dossier h3
{
background-image: url("fond/test_h3.png");
background-repeat: no-repeat;
}
.en-tete
{
text-align:center;
font-style:italic;
}
.intro
{
border-top:1px solid black;
}
.verdict
{
border-top:1px solid black;
}
.titre
{
text-align:center;
}
.test a
{
color:white;
}
.test p
{
margin-top:0px;
}
.test
{
margin:auto;
}
.alphabet
{
text-align:center;
}
.alphabet a
{
color:black;
font-weight:bold;
}
#validation
{
text-align:center;
}
#validation a
{
color:white;
}
/*pied de page*/
#pied_de_page
{
margin-top:10px;
height:100px;
font-family:Verdana;
font-size:0.9em;
font-weight:bold;
text-align: center;
background-image: url("fond/pied.png");
background-repeat: no-repeat;
} |
Enfin voici l'adresse "réel" du site, gametest étant une redirection :
http://shotgun01.free.fr , pour ceux qui voudrait afficher le code source.
Personellement j'arrive pas à résoudre le problème alors même que je ne cesse de jouer avec mes marge, mais rien n'y fait. Si quelqu'un a une solution merci.
Merci d'avance de votre aide