Problème pour centrer entre FF et IE

WRInaute discret
Bonsoir tout le monde,

J'ai mis le code html suivant dans le header de mon site:

Code:
<table align="center"  cellpadding="10" cellspacing="10" border="0" width="100%">
<tr>
<td align="right" width="220"><a href="accueil.php" title="La Bataille Des Guildes - Accueil du site"><img src="http://guildes-rpg.com/images/bdg.gif"></a></td>
<td align="center">
<br>
<table align="center" cellpadding="3" cellspacing="2" border="0" width="100%">
		<tr>
			<font color="black"><h1scali><b>La Bataille Des Guildes, jeu de rôle multijoueurs<br><? $banniere = rand(1,2); if($banniere == "1"){ echo "<a href=\"http://guildes-rpg.com/sponsor.php\" target=\"_blank\"><img src=\"http://www.guildes-rpg.com/images/parrainages.gif\" border=\"0\"></a>"; } if($banniere == "2"){ echo "<iframe width=\"468\" height=\"60\" src=\"http://www.luditools.com/script/ban.aspx?id=264&fo=1\" frameborder=\"0\" scrolling=\"no\"></iframe>"; } ?><br>Vivez votre propre aventure RPG gratuite en ligne</b></h1scali></font>

		</tr>
</table>
</td>
<td align="left" width="138"><a href="http://www.guildes-rpg.com/gazette/" target="_blank"><img src="images/gazettetrans2.gif" alt="La Gazette de La Bataille Des Guildes"></a></td>

Voici ce que ça donne sous FireFox:

centrerff.JPG


Donc là la bannière centrale et le texte sont bien centrés tout va bien.

Voici sous Internet Explorer:

centrerie.JPG


Là, problème, la bannière et le texte au centre ne sont pas centrés.

Quelqu'un voit une solution pour que la bannière et le texte du milieu soient centrés sous IE ?

Merci beaucoup
 
WRInaute passionné
C'est un probleme que l'on retrouve fréquement

Code:
<table align="center"  cellpadding="10" cellspacing="10" border="0" width="100%">
<tr>
<td align="right" width="220"><a href="accueil.php" title="La Bataille Des Guildes - Accueil du site"><img src="http://guildes-rpg.com/images/bdg.gif"></a></td>
<td align="center">
<br>
<table align="center" cellpadding="3" cellspacing="2" border="0" width="100%">
      <tr>
         <font color="black"><h1scali><b><center>La Bataille Des Guildes, jeu de rôle multijoueurs</center><br><? $banniere = rand(1,2); if($banniere == "1"){ echo "<a href=\"http://guildes-rpg.com/sponsor.php\" target=\"_blank\"><img src=\"http://www.guildes-rpg.com/images/parrainages.gif\" border=\"0\"></a>"; } if($banniere == "2"){ echo "<iframe width=\"468\" height=\"60\" src=\"http://www.luditools.com/script/ban.aspx?id=264&fo=1\" frameborder=\"0\" scrolling=\"no\"></iframe>"; } ?><br><center>Vivez votre propre aventure RPG gratuite en ligne</center></b></h1scali></font>

      </tr>
</table>
</td>
<td align="left" width="138"><a href="http://www.guildes-rpg.com/gazette/" target="_blank"><img src="images/gazettetrans2.gif" alt="La Gazette de La Bataille Des Guildes"></a></td>

Mais sinon en CSS, tu pourrais faire plus propre quand au code, donc mieux pour google!
 
Discussions similaires
Haut