Modifier le style d'un tableau
Bonjour ,
j'affiche mon tableau avec le code suivant :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
| echo '<table bgcolor="#FFFFFF">'."\n";
// première ligne on affiche les titres prénom et surnom dans 2 colonnes
echo '<tr>';
echo '<td bgcolor="#669999"><b><u>code_wo</u></b></td>';
echo '<td bgcolor="#669999"><b><u>nom_wo</u></b></td>';
echo '<td bgcolor="#669999"><b><u>état</u></b></td>';
echo '<td bgcolor="#669999"><b><u>date de création</u></b></td>';
echo '<td bgcolor="#669999"><b><u>date de dernière action</u></b></td>';
echo '<td bgcolor="#669999"><b><u>utilisateur</u></b></td>';
echo '<td bgcolor="#669999"><b><u>groupe</u></b></td>';
echo '</tr>'."\n";
// lecture et affichage des résultats sur 2 colonnes
$reqname='';
while($row = mysql_fetch_array($result)) {
echo '<tr>';
echo '<td bgcolor="#CCCCCC">'.$row['code'].'</td>';
echo '<td bgcolor="#CCCCCC"><a href="nom.php?reqname='.$row['nom_wo'].'"> '.$row['nom_wo'].'</a></td>';
echo '<td bgcolor="#CCCCCC">'.$row['état'].'</td>';
echo '<td bgcolor="#CCCCCC">'.$row['date_de_création'].'</td>';
echo '<td bgcolor="#CCCCCC">'.$row['date_de_dernière_action'].'</td>';
echo '<td bgcolor="#CCCCCC">'.$row['utilisateur'].'</td>';
echo '<td bgcolor="#CCCCCC">'.$row['groupe'].'</td>';
echo '</tr>'."\n";
}
echo '</table>'."\n"; |
je veux modifier le style du tableau avec ce code là http://www.ad-plus.de/table/visual4tab.css
mais je c pas où l'insérer :(