Posted By

dubogii on 05/17/11


Tagged

table zebra Stripe


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

fomigo


jQuery Zebra Stripe a Table


 / Published in: jQuery
 

URL: http://css-tricks.com/snippets/jquery/jquery-zebra-stripe-a-table/

  1. $("tr:odd").addClass("odd");
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8. Then use some CSS:
  9.  
  10. .odd {
  11. background: #ccc;
  12. }

Report this snippet  

You need to login to post a comment.