CSSCrunch_2

Ever wanted to scan for all the unused CSS rules in an HTML document - and then automatically remove all those that are not used? Cleaning out unused CSS will not only reduce the bandwidth impact, but will also improve the performance of the browser (minimizing the time spent by the CSS engine to parse the style sheets).

Check out this blog post by the IE team where they will show you how to easily build a CSS “Crunch” tool using a bookmarklet and a new standard function introduced in Internet Explorer 8: document.querySelectorAll().

Technorati Tags:

Shout it