Here is a fiddle I created to demonstrate my issue.
https://jsfiddle.net/7w3c384f/8/
In the fiddle, you can see that my numbered list has alternating colors achieved through the following jQuery code:
$(document).ready(function(){
$("tr:even").css("background-color", "#606060");
$("tr:odd").css("background-color", "#404040");
});
However, this styling only applies to the numbered list and not the columns to the right of it. I am looking for a way to target only those specific <tr>
elements. How can I achieve this?