/ Published in: jQuery
                    
                                        Place inside document ready.
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
 // make zebra stripes var zebraodd = "#364146"; var zebraeven = "#102227"; $("table.zebra tr:odd, ul.zebra li:odd").css("background-color", zebraodd); $("table.zebra tr:even, ul.zebra li:even").css("background-color", zebraeven);
Comments
                    Subscribe to comments
                
                