HTML inefficace sous Firefox

HTML inefficace sous Firefox - HTML/CSS - Programmation

Marsh Posté le 10-11-2004 à 11:07:47    

Bonjour !
 
Avez vous une idée de pourquoi les éléments de la table "Dernières news" dans la barre de droite sont correctement centrées sous IE alors qu'elles sont alignées à gauche sous firefox ? Je voudrais qu'elles soient centrées...
http://www.jsfnanterre.com/index.php?page=liens
Je sais que je devrais plus utiliser les CSS, c'est en cours d'investigation.
 
Merci a+  :hello:  

Reply

Marsh Posté le 10-11-2004 à 11:07:47   

Reply

Marsh Posté le 10-11-2004 à 12:01:36    

<tr>
 <td colspan="3"><table width="156" border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
 <td width="1" rowspan="6" bgcolor="#009966"><img src="../_images/dot.gif" width="1" height="1"></td>
 <td height="15" colspan="2">
  <span class="Style6"><a class="newsbox" href="./index.php?newsid=63&PHPSESSID=b7bfb050c3f60d9801d2b9a13e36944f" title="[Gazette] Semaine du 8 novembre 2004">Semaine du 8 novem... (09/11)</a></span>
 </td>
 <td width="1" rowspan="6" bgcolor="#009966"><img src="../_images/dot.gif" width="1" height="1"></td>
</tr>
<tr>
 <td height="15" colspan="2">
  <span class="Style6"><a class="newsbox" href="./index.php?newsid=62&PHPSESSID=b7bfb050c3f60d9801d2b9a13e36944f" title="[Actu Pro B] Orléans - Nanterre : 71-67">Orléans - Nanterre... (06/11)</a></span>
 </td>
</tr>


 
Je ne sais pas si ça vient de ça, mais y'a comme un problème dans le comptage des colspan :
Premier <tr> : 3
Deuxième <tr> : 1 + 2 + 1 = 4
Troisième <tr> : 2
 :??:  :??:  :??:


---------------
Laissez l'Etat dans les toilettes où vous l'avez trouvé.
Reply

Marsh Posté le 10-11-2004 à 13:45:22    

Mara's dad a écrit :

<tr>
 <td colspan="3"><table width="156" border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
 <td width="1" rowspan="6" bgcolor="#009966"><img src="../_images/dot.gif" width="1" height="1"></td>
 <td height="15" colspan="2">
  <span class="Style6"><a class="newsbox" href="./index.php?newsid=63&PHPSESSID=b7bfb050c3f60d9801d2b9a13e36944f" title="[Gazette] Semaine du 8 novembre 2004">Semaine du 8 novem... (09/11)</a></span>
 </td>
 <td width="1" rowspan="6" bgcolor="#009966"><img src="../_images/dot.gif" width="1" height="1"></td>
</tr>
<tr>
 <td height="15" colspan="2">
  <span class="Style6"><a class="newsbox" href="./index.php?newsid=62&PHPSESSID=b7bfb050c3f60d9801d2b9a13e36944f" title="[Actu Pro B] Orléans - Nanterre : 71-67">Orléans - Nanterre... (06/11)</a></span>
 </td>
</tr>


 
Je ne sais pas si ça vient de ça, mais y'a comme un problème dans le comptage des colspan :
Premier <tr> : 3
Deuxième <tr> : 1 + 2 + 1 = 4
Troisième <tr> : 2
 :??:  :??:  :??:


 
Effectivement deja la ya un bug  :sweat:

Reply

Marsh Posté le 10-11-2004 à 13:47:10    

pour centrer un block c'est pas <center> ou text-align:center; en css
mais  un style avec :

Code :
  1. width: [largeur a definir]px;
  2. margin-left: auto;
  3. margin-right: auto;


---------------
Martin
Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed