I've taken over looking after a fairly complex site developed by another company, and frankly it's a mess. One of my problems is that there seems to have been no discipline when writing the html so that although they have used css extensively, there are half a dozen css files and a cursory analysis reveals that there is a significant number of styles in the css files that are not referenced by any of the html - rather they contain trail of false redesign starts and old, now redundant, styles mixed in with the current items.
I'd really like to clean all this up before moving onwards. Does there exists any tool, open source or otherwise, that can take a bunch of html and css files and cross reference them so as to highlight the cruft in the css?