Previous Message
Next Message

alternating colors of list items in IE

Sent by Corey Frang on 14 March 2007 01:01


If you can afford a little javascript, jQuery can solve that pretty 
quickly...

$(document).ready(function(){ $("#containAbt .features 
li:even").addClass("even"); });

-or-

$(document).ready(function(){ $("#containAbt .features 
li:even").css({"background-color":"#ebdab3"}); });


______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: