Name: RTAdams89 Date: December 18, 2007 at 22:28:18 Pacific Subject: Cleanup Unused CSS Tags? OS: na CPU/Ram: na Model/Manufacturer: na
Comment:
I've just revamped a site that was made by someone else. In the process, I've noticed that there are a bunch of tags in the CSS file that don't seem to be used anywhere in the HTML files. I want to clean up the css file a bit, but I don't want to remove anything I need. There are too many HTML files to go through by hand and cross reference with the tags in the CSS file. Is there any software that will automate this for me?
can't think of any that specifically do that ... i would instead look for a program that enables me to find a string (a portion of text) in the files contained in a folder and then check to see if the css tags are mentioned in any of the files
this is likely to be a longish process depending on how many tags you have in your css file
I know http://www.newsgator.com/Individual... (Top Style) can do that... after making a "profile" for your site... go to "View" Then "Site Report" and look under "Orphan Classes"
The information on Computing.Net is the opinions of its users. Such
opinions may not be accurate and they are to be used at your own risk.
Computing.Net cannot verify the validity of the statements made on this site. Computing.Net and Computing.Net, LLC hereby disclaim all responsibility and liability for the content of Computing.Net and its accuracy.
PLEASE READ THE FULL DISCLAIMER AND LEGAL TERMS BY CLICKING HERE