SitePoint Sponsor

User Tag List

Results 1 to 6 of 6

Thread: CSS optimizer

  1. #1
    SitePoint Enthusiast
    Join Date
    Mar 2010
    Posts
    47
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    CSS optimizer

    Hi everyone,

    I'm looking for a way to automatically remove rules that are used nowhere on my site. Is there a tool for that ?

    Second, how do you manage to keep your CSS files organized after several weeks of development ? I always end up with a jungle and I find what I'm looking for with Firebug. Am I normal?

  2. #2
    Robert Wellock silver trophybronze trophy xhtmlcoder's Avatar
    Join Date
    Apr 2002
    Location
    A Maze of Twisty Little Passages
    Posts
    6,316
    Mentioned
    60 Post(s)
    Tagged
    0 Thread(s)
    I have come across tools before that will strip-out unused CSS values or reorder them to remove duplicated sections, etc. Though it was several years back and it was on a per page basis.

    I don't know if you are normal or not? But so long as you modularise and create a robust system/convention, which you stick to when planning you'll have fewer problems.

  3. #3
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,624
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Try dust-me-selectors FF addon
    Always looking for web design/development work.
    http://www.CodeFundamentals.com

  4. #4
    SitePoint Enthusiast
    Join Date
    Mar 2010
    Posts
    47
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I did and it's great! But how to make it clean my CSS files for me? I have tons of unused stuff and it will take hours to do it one by one..

  5. #5
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,624
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    It won't go through the CSS files and give you an updated one, it doesn't work magic . However if you are willing to go through it all one by one (you can have both open side by side and slowly go down the list) then that's a possibility .
    Always looking for web design/development work.
    http://www.CodeFundamentals.com

  6. #6
    SitePoint Enthusiast
    Join Date
    Mar 2010
    Posts
    47
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok then, thank you very much.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •