I have used lots of code segments for some reasons, like templates, side-bars etc from lots of websites. So that, in my code, i have many not-used css properties. Is there any commands in dreamweaver or any other program to delete not-used css attributes easily? I am asking this because it will take several hours just to delete them. Image how much it is:) Thanks
Asked
Active
Viewed 9,180 times
2
-
To make it precise, i added the whole css file and just configure the necessary parts that i like from the website. – user893970 Aug 10 '12 at 20:30
1 Answers
4
Do you have the site online? If so you can try this site Removed unused CSS.
Also check out the following SO questions they mention the Dust-Me Selector indicated in the comments:

Community
- 1
- 1

juan.facorro
- 9,791
- 2
- 33
- 41
-
very neat, I also found a similar tool called [Dust-Me Selectors](http://www.sitepoint.com/dustmeselectors/) – Matt K Aug 10 '12 at 20:34
-
Actually it is what i needed for a later time. Only problem is my site is on the localhost right now:( And I think the solutions you provided for the sites online. Is there any solutions for offline sites? – user893970 Aug 10 '12 at 20:41
-
2I think you can use the Firefox add-on offline as well. You would just need to open the page through a local url. – juan.facorro Aug 10 '12 at 20:45