John Hesch

Echoing my thoughts and interests

CSS Redundancy Checker

A simple script that, given a CSS stylesheet and either a .txt file listing URLs of HTML files, or a directory of HTML files, will iterate over them all and list the CSS statements in the stylesheet which are never called in the HTML.

Basically, it helps you keep your CSS files relevant and compact. And it’s reasonably accurate.

Unfortunately for me it requires Rubygems and Hpricot, plus a reasonably up-to-date version of Ruby.

Comments are closed.

Graytone | Design: Tenant Report