Hi, I just whant to know what to have add to put the text in the top of a table... Because my problem is that the text print in the middle of my table..
Thanks
valign=top should do it
But where i put it...
<table border=0 cellpadding=0 cellspacing=0 align=center valign=top>
i think, it may be <td valign=top> i havent done it in a while
OK but lock at my code :
if($action =="speciaux") { include("support/connection.php"); $sql = "SELECT * FROM emfspeciaux"; $query = mysql_query($sql) or die("Erreur Database<br>" .mysql_error()); ?><tr> <?php print "<b>SPÉCIAUX EXCLUSIFS À EMF MUSIQUE</b><br><br>"; print "<td><b>Produit</b></td>"; print "<td><b>Description</b></td>"; print "<td><b>Prix</b></td>"; ?> </tr> <?php ?> <tr> <?php print "<td> <hr></td>"; print "<td> <hr></td>"; print "<td><hr></td>"; ?> </tr> <?php while($result = mysql_fetch_array($query)) { $Code = stripslashes($result["Code"]); $Description = stripslashes($result["Description"]); $Prix = stripslashes($result["Prix"]); ?> <tr> <td><font face="Arial" size="2"><?php print "$Code" ?></font></td> <td><font face="Arial" size="2"><i><?php print "$Description" ?></i></font></td> <td><font face="Arial" size="2"><?php print "$Prix" ?></font></td> </tr> <?php
} What should I do..
Where do you start the table, im sure u can put it in there, if not, where u have <tr> change it to <tr valign=top>
Ok I found a way to make it work Thanks a lot