IE8 tweaks/workarounds
// lack of support for CSS :first-child and :last-child if ($.browser.msie && parseInt($.browser.version, 10) === 8) { $('ul li:first').addClass('first'); $('ul li:last').addClass('last'); }