Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-02-05 22:45:02

jmart
Member
Registered: 2008-08-25
Posts: 68

Tool to check for unnecessary code in my CSS

Is there a solid tool that would check my CSS to see if I have unnecessary code …basically to see if my code is bloated.

Offline

#2 2009-02-05 23:06:16

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Tool to check for unnecessary code in my CSS

I’m not sure if you actually mean ‘unused’, but that is what these are for:

Here is an online tool, haven’t used it myself. Firefox extension Dust-Me Selectors is nice.

Offline

#3 2009-02-07 14:24:41

sirNemanjapro
Member
From: Čačak, Serbia
Registered: 2007-12-08
Posts: 59
Website

Re: Tool to check for unnecessary code in my CSS

The CSS files are usually about 20kb, knowing that, why even bother?

If your design shows right, as you would and as it should, I think there is no need for that.
But I think you are interested in default CSS files that came with TXP, right?


“… they were enterprising voyages…” – Mr. Spock ( from Spock vs. Q )

Offline

#4 2009-02-07 18:25:39

jmart
Member
Registered: 2008-08-25
Posts: 68

Re: Tool to check for unnecessary code in my CSS

Nope- I was interested in making sure that there were no used code…sometimes, things get messy. So Els’ Dust Me Off recommendation was very helpful

Offline

#5 2009-02-07 20:48:23

keith
Member
From: Blyth, Northumberland, England
Registered: 2004-12-08
Posts: 199
Website

Re: Tool to check for unnecessary code in my CSS

Els – very grateful for the FF extension heads-up.


Keith
Blyth, Northumberland, England
Capture The Moment

Offline

Board footer

Powered by FluxBB