Return to Snippet

Revision: 43904
at April 2, 2011 13:19 by redconservatory


Initial Code
jQuery('.className:last-child').css({marginRight:"0"});

Initial URL


Initial Description
Removes the margin-right spacing from the item in a line of items. This works cross browser unlike the CSS last-child selector (which doesn't work in IE6 or IE7).

Initial Title
jQuery to extend CSS - even spacing between objects

Initial Tags
css, jquery

Initial Language
JavaScript