bonjour
j'ai un petit probleme de mise en page dans mon tableau
tout d'abord voici mon script :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 echo "<table width=\"465\" border=\"0\" align=\"left\" cellpadding=\"1\" cellspacing=\"2\"> \n"; while($tableau = mysql_fetch_array($envoi)) { echo "<tr> \n"; echo "<td width=\"100\" align=\"center\" valign=\"top\"bgcolor=\"#DCDCDC\">".$tableau['nom']."</td> \n"; echo "<td width=\"100\" align=\"center\" valign=\"top\"bgcolor=\"#DCDCDC\">".$tableau['mail']."</td> \n"; echo "<td width=\"100\" align=\"left\" valign=\"top\"bgcolor=\"#DCDCDC\">".$tableau['tel']."</td> \n"; echo "<td width=\"100\" align=\"left\" valign=\"top\"bgcolor=\"#DCDCDC\">".$tableau['sexe']."</td> \n"; echo "</tr> \n"; echo "<tr> \n"; echo "<td width=\"100\" align=\"center\" valign=\"top\">".$tableau['annonce']."</td> \n"; echo "</tr> \n"; echo '<tr><td colspan="2">-------------------------------------------------------------------------------------</td></tr>'; } // fin du tableau html ( hors boucle ) echo "</table> \n";
Mon probleme est que la partie "annonce" qui se trouve sous les autres rubriques(qui elle sont cote à cote).
ma page affiche les mots les un sous les autre et non à la suite.
Pouvez me dire se qui va pas pour que mon "annonce" prennent toute la largeur du tableau.
MERCI
Partager