CSS-Tricks is brought to you in part by Media Temple, the web hosting that we both use and recommend.
hello, does anyone know of any software that would help find what CSS items are called for in a given bunch of html files and also the flip side, something that helps cut out unnecessary CSS entries?
I don’t think it would be possible for software to identify CSS rules from HTML.
As for the other way round, the only thing I can think of immediately is CSSLint.
Of course validation is a must: http://jigsaw.w3.org/css-validator/
Google Chrome can check give you an idea of which CSS rules are not used on any given page:
– right-click on page
– inspect element
This is Firefox add on to see which css is being used in the page
You must be logged in to reply to this topic.
Search for Stuff
Browse the Archives
Get the Newsletter
... or get the RSS feed