0
How i do style for table?
4 Réponses
+ 1
You can assign the entire table, rows, or individual cells in IDs or classes!
<table>
<thead>
<th>
<td class="bluebg"> </td>
<td class="bluebg"> </td>
<td class="bluebg"> </td>
</th>
</thead>
<tbody>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
</tbody>
</table>
...then just code the CSS with the style you want! However, I recommend to not use margin, but rather use padding because it is probably better for cells!
.bluebg{
background-color:blue;
padding:5px;
}
Happy programming! :)
...and I hope I am correct lol
+ 4
Use CSS styles
0
please be more specific
0
Thank you, that helped me a lot😁