suite à ce  post, j'ai changé ma manière de centrer mon site en utilisant le tutos  http://css.alsacreations.com/Faire-une-mise-en-page-sans-tableaux/Centrer-les-elements-ou-un-site-web-en-CSS  . 
Mon site est centré mais j'ai une barre de défilement horizontal. Y a-t-il un moyen autre qu'"overflow: hidden" de l'enlever ?
Modifié par p_tite_jo (20 Jan 2006 - 14:55)
      
      
    Mon site est centré mais j'ai une barre de défilement horizontal. Y a-t-il un moyen autre qu'"overflow: hidden" de l'enlever ?
html{
	background-color:      #FFFFFF;
	margin:                0;
	padding:               0;
	font-family: Comic Sans MS;
	font-size: 0.9em;
	/*overflow: hidden;*/
}
body{ 
	margin: 0; 
	text-align: center; 
}
#global{
	margin-left: auto;
	margin-right: auto;
	text-align: left; 
	background: url(../design/fond.gif);
	width: 760px;
}
#tete{
	background: url(../design/maison.gif);	
	background-repeat: no-repeat;
	width: 760px;
	height: 400px;	
	margin: 0;
	padding: 0;
}
<body>
<div id="global">
<div id="tete">
</div>
</div>
</body>
 Modifié par p_tite_jo (20 Jan 2006 - 14:55)