aucune bordure n'apparaît lors de la définition du style dans la ligne du tableau ci-dessous, à l'intérieur de la boucle while? Pourquoi? réglage des couleurs d'arrière-plan fonctionne bien, mais pas ... NO BORDER UP ...quelque chose que j'ai manqué ici, le style dans la ligne de table PHP fonctionne en partie!
SPECTACLES// Build Result String
$display_table = "<table>";
while($row = mysql_fetch_array($qry_result)){
$display_table .= "<tr style='border-top-width: thin; border-top-style: solid;'>"; // wont work here, why????? But if I set bgr color to something, the bgr color works, but not the border thing... hmmmmmm
$display_table .= "<td width='110' rowspan='2'>BILD HÄR</td>";
$display_table .= "<td width='377' height='15'>$row[headline]</td>";
$display_table .= "<td width='67' rowspan='2'>$row[insert_date]</td>";
$display_table .= "</tr>";
$display_table .= "<tr>";
$display_table .= "<td height='15'>$row[price]:-</td>";
$display_table .= "</tr>";
}
$display_table .= "</table>";
echo $display_table;
Vous voulez vraiment une bordure autour des éléments TD, n'est-ce pas? – pavium
Combien de questions avez-vous sur ces quelques lignes de code? Vous pouvez en apprendre un peu plus sur css et html sur de.selfhtml.org (je suppose que vous parlez allemand :)). – stefita