I have found lots of tools to;
1. validate CSS
2. validate HTML
3. check HTML links
But I have so far found nothing to check cross check the style used in
markup with the style sheet to make sure I spelled all the styles as
in class="xxx" correctly. You could consider it a sort of style spell
checker.
Writing one should not be too tough. You extract the style names from
the style sheet with regexes and from the documents with regexes and
list styles in one list but not the other.
I was talking with Albert Wiersch at CSE HTMLValidator. He said the
problem was trickier than it first looks, and that is why his tool
does not handle it.
You could even construct a bulk fix, giving the old/bad name and the
new/good name for style. You could reuse the script to fix your common
typos or to standardise to get rid of aliases.
--
Bush crime family lost/embezzled $3 trillion from Pentagon.
Complicit Bush-friendly media keeps mum. Rumsfeld confesses on video.
http://www.infowars.com/articles/us/...s_rumsfeld.htm
Canadian Mind Products, Roedy Green.
See http://mindprod.com/iraq.html photos of Bush's war crimes