Hello,
I would like to style my table. I have two different table that I would like to style differently. How to do so?
This is what I try but it does not work:
table, td {
padding: 5px;
}
.order table, td{
width: 5px;
}
</style>
<table class="order" border="1">
<tr>
<th>Nama Produk</th>
<th>Harga</th>
<th>Jumlah Pembelian</th>
<th>Tipe Produk</th>
<th>Total</th>
</tr>
<tr>
<th><input type="text" name="fname"></th>
<td><input type="text" name="fname"></td>
<td><input type="text" name="fname"></td>
<td><input type="text" name="fname"></td>
<td><input type="text" name="fname"></td>
</tr>
</table>
One table order I would like to set the width : 5px.
Please help. Thanks in advance.