Décalage sur div centrer

Résolu
lanka133 -  
 lanka133 -
Bonjour,

bonjour a tous....

voila mon problème

mon centrage ne se fait pas correctement un décalage de deux pixels existe a droite
voici les codes



mon problèmevient peut etre du background??

body {


text-align: center;
border:0px;
padding: 0;
margin: 0;
background: #f8f7e5 url(bg.jpg) no-repeat center top;
width: 100%;
display: table;
}

mon div dans css

#flash {
height: 938px;
width: 974px;
margin-right: auto;
margin-left: auto;
text-align:center;
border-top-width: 0px;
border-right-width: 0px;
border-bottom-width: 0px;
border-left-width: 0px;

}

et voici le lien http://www.candlescanaria.com/test.html

merci davance ;-)

2 réponses

Zhp Messages postés 198 Date d'inscription   Statut Membre Dernière intervention   37
 
bonjour,

Donne un padding-left de 6px au lieu de 7px à la div qui contient le flash.
Chez moi sur Firefox (8.0) ça règle le problème.
0
lanka133
 
merci ca fonctionne :-)
0