Changing style on multiple elements at once
Hi,
I have this piece of code and was wondering if there is a shorter, better way of writing it...
$("#tabbed-content-1").css({marginLeft: "-940px"});
$("#tabbed-content-2").css({marginLeft: "-940px"});
$("#tabbed-content-3").css({marginLeft: "-940px"});
$("#tabbed-content-4").css({marginLeft: "-940px"});
Many thanks
C