0

How i do style for table?

23rd Feb 2021, 7:15 PM
שלמה דוד אלבוים
שלמה דוד אלבוים - avatar
4 Respostas
+ 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
24th Feb 2021, 3:07 AM
TheCoder
+ 4
Use CSS styles
23rd Feb 2021, 7:35 PM
Makar Mikhalchenko
Makar Mikhalchenko - avatar
0
please be more specific
23rd Feb 2021, 10:34 PM
John Doe
0
Thank you, that helped me a lot😁
24th Feb 2021, 8:01 PM
שלמה דוד אלבוים
שלמה דוד אלבוים - avatar