Skip to content

SiteKickr Web Development

search
search
Apr01April 1, 2011CSS, Style & Presentation, HTML, JavaScript

Table background on alternate rows

3 ways to do this: jQuery #1 $('table tr:even').addClass('even'); jQuery #2 $('table tr:even').css('background-color', '#eee'); Background Image If you are certain that all table rows will…

© 2025 SiteKickr