Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1129 connectés 

  FORUM HardWare.fr
  Programmation
  HTML/CSS

  Problème de <TABLE>

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

Problème de <TABLE>

n°562754
kalios
Prout !
Posté le 09-11-2003 à 12:52:05  profilanswer
 

Pourquoi dans le cas numero 1 tout fonctionne  
et dans le cas numero 2 rien ne fonctionne ?

Citation :


<p>Là tout fonctionne le separateur bleu/rouge = 1px</p>
 
<table width="710" border="0" cellspacing="0" cellpadding="0">
  <!-- Premiere ligne -->
  <TR>  
    <TD width="15" bgcolor="#000000"></td>
    <TD valign="top" height="40" colspan="3" >0123456789</TD>
    <TD width="15" bgcolor="#000000"></td>
  </TR>
  <!-- Seconde ligne -->
  <TR height=115>  
    <TD width="15"  bgcolor="#000000"  ></td>
    <TD width="115" bgcolor="#0000FF">&nbsp;         </TD>
    <TD width="2"   bgcolor="#000000"></td>
    <TD             bgcolor="#FF0000">&nbsp;         </TD>
    <TD width="15"  bgcolor="#000000"> </td>
  </TR>
</table>
 
<BR>
<hr>
<p>Mais là rien fonctionne, le separateur bleu/rouge n'est plus de largeur correcte</p>
 
<table width="710" border="0" cellspacing="0" cellpadding="0">
  <!-- Premiere ligne -->
  <TR>  
    <TD width="15" bgcolor="#000000"></td>
    <TD valign="top" height="40" colspan="3" >0123456789 0123456789</TD>
    <TD width="15" bgcolor="#000000"></td>
  </TR>
  <!-- Seconde ligne -->
  <TR height=115>  
    <TD width="15"  bgcolor="#000000"  ></td>
    <TD width="115" bgcolor="#0000FF">&nbsp;         </TD>
    <TD width="2"   bgcolor="#000000"></td>
    <TD             bgcolor="#FF0000">&nbsp;         </TD>
    <TD width="15"  bgcolor="#000000"> </td>
  </TR>
</table>

 


---------------
.:coin:.
mood
Publicité
Posté le 09-11-2003 à 12:52:05  profilanswer
 

n°562867
kalios
Prout !
Posté le 09-11-2003 à 18:35:49  profilanswer
 

Personne n'a d'idées ??  :hello:


---------------
.:coin:.
n°563243
zimba
Posté le 10-11-2003 à 15:04:26  profilanswer
 

Code :
  1. <table width="710" border="0" cellspacing="0" cellpadding="0">
  2.   <!-- Premiere ligne -->
  3.   <TR> 
  4.     <TD width="15" bgcolor="#101010">&nbsp;</td>
  5.     <TD valign="top" height="40" colspan="3" align="center" bgcolor="#10ff00">0123456789 5645464567657657</TD>
  6.     <TD width="15" bgcolor="#000000">&nbsp;</td>
  7.   </TR>
  8.   <!-- Seconde ligne -->
  9.   <TR height=115> 
  10.     <TD width="15"  bgcolor="#000000">&nbsp;</td>
  11.     <TD width="115" bgcolor="#0000FF">&nbsp;</TD>
  12.     <TD width="2"   bgcolor="#000000">&nbsp;</td>
  13.     <TD width="563" bgcolor="#FF0000">&nbsp;</TD>
  14.     <TD width="15"  bgcolor="#000000">&nbsp;</td>
  15.   </TR>
  16. </table>


 
^^ Ne pas oublier de mettre une width à chaque TD, sinon IE pars en couilles
Note : Mozilla/Firebird est tout à fait capable d'interpréter correctement les tableaux

n°563248
kalios
Prout !
Posté le 10-11-2003 à 15:11:59  profilanswer
 

Code :
  1. <table width="710" border="0" cellspacing="0" cellpadding="0">
  2.   <!-- Premiere ligne -->
  3. <colgroup>
  4.    <col width=15>
  5.       <col width=115>
  6.       <col width=2>
  7.       <col>
  8.       <col width=15>
  9.    </colgroup> 
  10.   <TR> 
  11.     <TD bgcolor="#000000"></td>
  12.     <TD valign="top" height="40" colspan="3" >0123456789 0123456789</TD>
  13.     <TD bgcolor="#000000"></td>
  14.   </TR>
  15.   <!-- Seconde ligne -->
  16.   <TR height=115> 
  17.     <TD bgcolor="#000000"  ></td>
  18.     <TD bgcolor="#0000FF">&nbsp;</TD>
  19.     <TD bgcolor="#000000"></td>
  20.     <TD bgcolor="#FF0000">&nbsp;</TD>
  21.     <TD bgcolor="#000000"></td>
  22.   </TR>
  23. </table>


---------------
.:coin:.

Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Programmation
  HTML/CSS

  Problème de <TABLE>

 

Sujets relatifs
2 sgbd differents... : creation d'un table sur un probleme ;)[ MySql ] Problème "Table inexistante" ou "Champs pas dans field list"
problème de création de table[asp]Probleme d'update d'1 champs d'1 ligne dans une table!
[asp]Probleme d'update d'une table !!helpProblème de structure pour une table
Probleme pour modifier une colonne dans une table Postgres[PHP / mySQL] Problème de création d'une table
[PHP] Problème création tableproblème avec une table MySQL
Plus de sujets relatifs à : Problème de <TABLE>


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR