2

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

user893970
  • 889
  • 6
  • 17
  • 28
  • 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 Answers1

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
  • 2
    I 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