Problème de centrage, seulement sur IE ?
informatiqueur
Messages postés
19
Date d'inscription
Statut
Membre
-
informatiqueur Messages postés 19 Date d'inscription Statut Membre -
informatiqueur Messages postés 19 Date d'inscription Statut Membre -
Bonjour,
Il se trouve que j'ai un problème de centrage pour mon forum intégré dans un thème, sur Mozilla, Opera, Safari, il est parfaitement centré, mais sur internet explorer, rien à faire.
Voici ma feuille de style :
body{width: 675px; margin:0 auto 5px auto; background: url(images/fond.jpg);}
#global {width: 675px; margin:0 auto; background: url(images/global.jpg) repeat-y;}
ul#header{
background: url(images/header.jpg) no-repeat left top;
margin:0;
padding:2px 0 0 0;
width: 675px;
height: 285px;
text-align:center;
color:#c000c0;
font: bold 12px Verdana, sans-serif, Arial;
list-style: none;
}
ul#header li{display:inline; margin: 0; padding:0;}
ul#header li a{color:#c0a080; margin:0; padding:0 10px; text-decoration:none;}
ul#header li a:hover{color:#AA550E;}
#main{
margin:0;
padding:10px;
width: 655px; /*675*/
min-height: 610px;
background: url(images/main.jpg) no-repeat left top;
}
Merci d'avance, j'espère que vous pourrez m'aider, en attente d'une réponse.
Cordialement
Il se trouve que j'ai un problème de centrage pour mon forum intégré dans un thème, sur Mozilla, Opera, Safari, il est parfaitement centré, mais sur internet explorer, rien à faire.
Voici ma feuille de style :
body{width: 675px; margin:0 auto 5px auto; background: url(images/fond.jpg);}
#global {width: 675px; margin:0 auto; background: url(images/global.jpg) repeat-y;}
ul#header{
background: url(images/header.jpg) no-repeat left top;
margin:0;
padding:2px 0 0 0;
width: 675px;
height: 285px;
text-align:center;
color:#c000c0;
font: bold 12px Verdana, sans-serif, Arial;
list-style: none;
}
ul#header li{display:inline; margin: 0; padding:0;}
ul#header li a{color:#c0a080; margin:0; padding:0 10px; text-decoration:none;}
ul#header li a:hover{color:#AA550E;}
#main{
margin:0;
padding:10px;
width: 655px; /*675*/
min-height: 610px;
background: url(images/main.jpg) no-repeat left top;
}
Merci d'avance, j'espère que vous pourrez m'aider, en attente d'une réponse.
Cordialement