Just had to share a snippit. I have been trying to alternate row colors globally and haven’t had luck in IE with this bit of CSS
tr:nth-child(even) {
background-color: #ccc;
}
It doesn’t work in most IE browsers and then I found this bit of jQuery and it seems to work like a charm!
$(document).ready(function()
{
$("tr:even").css("background-color", "#ccc");
});
[button link=”http://www.losmedanos.edu/directory/” color=”orange”] Check it out[/button]
Leave a Reply