Agaric wants to parse our CSS files for declarations unused by our sites
Ask the internet and ye shall receive:
http://www.sitepoint.com/blogs/2007/07/30/find-unused-css-selectors-with-dust-me-selectors/
http://www.sitepoint.com/dustmeselectors/
As with any automated tool, use your human intelligence and discretion if you can find where you put it.
This goes double with a content management system like Drupal, and triple when you're using JQuery to add and remove classes and IDs.
There's simply no way on a dynamic web site, that can treat anonymous users and users with different roles in varying ways, where JQuery can change the CSS selectors called based on clicks and PHP can change it on context, for a spidering script to catch all of the CSS that's actually used.
But this special CSS, we hope, has made more of an imprint on your mind when you put it in and you won't delete it just because some CSS and HTML DOM spidering script tells you to.
Resolution
More like this
- How make double rounded borders with CSS3 (and using an extra div)
- Theming Drupal's user login block with CSS
- Use Drush to sync files from one site to another
- Pushing our local repository to Gitorious
- Agaric wants Eclipse to flag the entire file prominently, not just a line, when it has a parse error


Comments
Post new comment