Find Unused or Redundant CSS Selectors

Posted By Tehseen Baweja On August 6, 2009 @ 1:00 am In Webmaster Tips | 1 Comment

If you work with stylesheets you will often find redundant selectors in your document. If you set about identifying them manually, it would take a lot of time and effort. Gladly, there is a web application that does this for you within seconds.

CSS Redundancy checker [1] identifies the unused elements of your stylesheet. Simple specify the URL of your stylesheet and the URL of your HTML pages. The application will then search your stylesheet and find selectors that are not being used anywhere in those HTML pages. It is a very useful tool to clean a stylesheet.

It is also a good tool to identify which selectors are being used on which HTML pages. However, for that purpose you will have to try one HTML page at a time.


Article printed from Techie Buzz: http://techie-buzz.com

URL to article: http://techie-buzz.com/webmaster-tips/css-redundancy-checker.html

URLs in this post:

[1] CSS Redundancy checker: http://services.immike.net/css-checker/

Copyright © 2006-20011 Techie Buzz. All rights reserved.