Automatically find what CSS code my website is using from my CSS file?

Discussion in 'CSS' started by BannanoPeel, Feb 19, 2011.

  1. #1
    Over the years that my website has been in existence I have made lots of improvements and changes to the sites design. The only problem is my CSS file now has around 5000 lines of code.

    My website is static and only has around five pages total so I know that there is some elements/code I can delete from my CSS file.

    I would like to know if there is any sort of program that can automatically find the code in my CSS file that isn't used in my website so that I can delete the extra? Right now it is just getting way to hard to difficult my CSS file so I would really like to do some spring cleaning on it, I just don't want to start deleting lines of code and accidentally delete something important.

    Thanks,

    Ty
     
    BannanoPeel, Feb 19, 2011 IP
  2. Cash Nebula

    Cash Nebula Peon

    Messages:
    1,197
    Likes Received:
    67
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Cash Nebula, Feb 19, 2011 IP
  3. AtSeaDesign

    AtSeaDesign Active Member

    Messages:
    172
    Likes Received:
    2
    Best Answers:
    1
    Trophy Points:
    93
    #3
    wow. 5000 lines for 5 pages? I would think you could cut that down to a 100 or so.
     
    AtSeaDesign, Feb 20, 2011 IP