Zebra stripes for tables with jQuery (the easy way)

$('.yourclass tr:odd').css('background','#color');

1 Response

You can do this with plain old CSS nowadays

Write a comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.