$(".news li").each(function(){ $(this).children(".image").children("a").children("img").attr("style",""); })