/    Sign up×
Community /Pin to ProfileBookmark

CSS Analyser Tool?

Is there a tool somewhere that can analyse my CSS and warn me of unused styles?

My Stylesheets are getting quite big and I want to check if I use certain styles anywhere but I’m not trawling through all my pages…

to post a comment
CSS

13 Comments(s)

Copy linkTweet thisAlerts:
@ray326Feb 14.2006 — TopStyle might be able to do that.
Copy linkTweet thisAlerts:
@KDLAFeb 14.2006 — Mozilla (Firefox) may have an extension that does that, too.

KDLA
Copy linkTweet thisAlerts:
@FangFeb 14.2006 — [URL=http://www.bradsoft.com/topstyle/tour/siterpt.asp]TopStyle Pro[/URL]
Copy linkTweet thisAlerts:
@ray326Feb 14.2006 — I suspect the thing from the WestCIV guys may have that feature, too.

http://www.westciv.com/style_master/academy/css_tutorial/index.html
Copy linkTweet thisAlerts:
@cusimar9authorFeb 15.2006 — Well most of my pages are written in ASP and require access to a database, so I need an on-line analyser or a program that can analyse a website on-line rather than on a local machine.

TopStyle Pro allows analysis over a localhost connection... but thats too much messing about for what I need
Copy linkTweet thisAlerts:
@KDLAFeb 15.2006 — Try this: https://addons.mozilla.org/extensions/moreinfo.php?id=60

There's a CSS analyzer in the "Tools" section.

You'll need the Firefox browser, too: http://www.mozilla.com/firefox/

KDLA
Copy linkTweet thisAlerts:
@cusimar9authorFeb 15.2006 — Thanks KDLA, that's a very useful extension ?

But the 'Validate CSS' option (which I assume is what you were talking about) does nothing more than redirect you to the W3C CSS Validator website
Copy linkTweet thisAlerts:
@FangFeb 15.2006 — I don't think that type of analyzer would work online. Perhaps using [URL=http://greasemonkey.mozdev.org/]Greasemonkey[/URL], but would require a lot of work.

Why not download the whole site and then use TopStyle?
Copy linkTweet thisAlerts:
@KDLAFeb 15.2006 — Thanks KDLA, that's a very useful extension ?

But the 'Validate CSS' option (which I assume is what you were talking about) does nothing more than redirect you to the W3C CSS Validator website[/QUOTE]


You're right. I was having a blonde moment there -- I just downloaded a bunch of FF extensions for javascript validation, and confused those with the CSS validator. :rolleyes:
Copy linkTweet thisAlerts:
@ray326Feb 15.2006 — Well most of my pages are written in ASP and require access to a database, so I need an on-line analyser or a program that can analyse a website on-line rather than on a local machine.[/QUOTE]The kind of analysis you want to do should only take saving a couple of representative rendered pages as HTML and running against those with a static tool.
Copy linkTweet thisAlerts:
@cusimar9authorFeb 15.2006 — Hmmm... what's a simple way of downloading an entire website then?
Copy linkTweet thisAlerts:
@cusimar9authorFeb 16.2006 — Good call ?
×

Success!

Help @cusimar9 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.29,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...