I want to alternate the background colour of a table to increase readability. After googling a bit I found the code I needed.
tr:nth-child(even) {
background-color: #000000;
}
The problem in my solution, I don't have access to head tag, and I want to implement this with inline style CSS, but it doesnt work.
<tr style="nth-child(even) background-color: #000000;">
Ideas?