Computing.Net > Forums > Web Development > Cleanup Unused CSS Tags?

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Cleanup Unused CSS Tags?

Reply to Message Icon

Name: RTAdams89
Date: December 18, 2007 at 22:28:18 Pacific
OS: na
CPU/Ram: na
Product: 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?

-Ryan Adams
http://RyanTAdams.com



Sponsored Link
Ads by Google

Response Number 1
Name: smbotans
Date: December 19, 2007 at 17:59:03 Pacific
Reply:

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

may be someone can suggest a better idea

serge

Mental Workout

Target the right Keywords

FREE SEO Report


0

Response Number 2
Name: Xmetalfanx
Date: December 30, 2007 at 00:00:27 Pacific
Reply:

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"


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Help with ASP.NET PHP Sort directory conten...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: Cleanup Unused CSS Tags?

Including Style Within Body www.computing.net/answers/webdevel/including-style-within-body/1938.html

Unwanted scrollbar in Firefox www.computing.net/answers/webdevel/unwanted-scrollbar-in-firefox/2869.html

IE vs. FireFox www.computing.net/answers/webdevel/ie-vs-firefox/3037.html