1 pièce(s) jointe(s)
Non prise en compte du css
Bonjour,
mon problème est que les bordures ne s'affichent pas, voici mon code :
Html :
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
| <head>
<title> Ma billerie - Gestion </title>
<meta charset="utf-8" />
<link rel="stylesheet" href="../css/gestion.css" />
</head>
<body>
<center><table width="70%" cellpadding="2" >
<tr>
<th width=12%>DATE COMMANDE</th>
<th width=15%>NUMÉRO COMMANDE</th>
<th width=14%>CLIENT</th>
<th width=12%>NUMÉRO CLIENT</th>
<th width=8%>PRIX TTc</th>
<th width=14%>ETAT</th>
<th width=25%>DÉTAILS/FACTURE/BILLETS</th>
</tr>
<tr>
<td> <?php echo $donnees['date_commande']; ?> </td>
<td> <?php echo $donnees['id_commande']; ?> </td>
<td> <?php echo $donnees['id']; ?> </td>
<td> <?php echo $donne['nom']; ?> <?php echo $donne['prénom']; ?></td>
<td> <?php echo $donnees['prix']; ?> </td>
<td> Paiement accepté </td>
<td> <a href="page2.html">Détails</a> - <a href="page2.html">Facture</a> - <a href="page2.html">Envoyer des billets</a></td>
</tr>
</table></center>
</body> |
Css :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
| body {
border: 1px solid black;
margin-top : 90px;
margin-left : 200px;
margin-right : auto;
}
th {
background-color : #0066cc;
}
table{
border-collapse : collapse;
border-radius : 10px;
border : 1px solid black;
}
td, th
{
border : 1px solid black;
} |
L'application de la couleur sur la balise th s'est bien faite mais j'ai maintenant l'impression que les changements du code css n'influe plus, je m'explique : j'ai supprimé la ligne de couleur sur les balises th et pourtant la couleur reste, je suis donc un peu perdu :(
Le chemin est pourtant le bon donc je ne sais pas trop comment régler ce problème
Merci d'avance pour votre aide
Voici un aperçu :