You could use: td { color: black; } td:nth-child(2) { color: red; }. CSS Table First Column Background - Stack Overflow Different background-color for each cell of the first row and first ... Change Background color for a specific column in a HTML table Can I color table columns using CSS without coloring individual cells? stackoverflow.com alanından daha fazla sonuç
Xem chi tiết »
To change the background color of a single cell, use the attribute bgcolor="color" inside the
You can give background color to specific column by suing td:nth-child(columnnumber) . ... Above code color the first coloumn background color as Orange. css html ...
Xem chi tiết »
Sets the background color for a single table row in an HTML table. Code Example.