how about reading all the replies to your other thread about this?
$("#mycarousel > li:eq(10)").css("margin-right", "5px"); expresso wrote:
Is it possible to target certain <li> in an unordered list by index with jQuery? I thought maybe I could use .index but was not able to get the syntax right. I thought maybe something like this would work but is has not: $("#mycarousel > li").index(i).css("margin-right", "5px");