Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
CSS inventory utility
Old 06-02-2008, 11:04 AM CSS inventory utility
pjaj's Avatar
Average Talker

Posts: 17
Name: Peter Jennings
Location: Oxfordshire UK
Trades: 0
Is there a utility that will take a css file (or possibly several) and compare it with one or more html files giving a report
  1. css usage in each html file.
  2. undefined css in html file.
  3. unused css in css file.
So the output might look like

#someting defined in first.css used in a.html, b.html c.html
.otherthing defined in second.css used in b.html
....
#snafu undefined, used in c.html
....
.toomuch unused defined in first.css
pjaj is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-02-2008, 11:26 AM Re: CSS inventory utility
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Don't know that I've ever seen such a tool.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 06-02-2008, 11:52 AM Re: CSS inventory utility
pjaj's Avatar
Average Talker

Posts: 17
Name: Peter Jennings
Location: Oxfordshire UK
Trades: 0
No, neither have I , but I was thinking along the lines of the utilities that check for broken links. There are plenty of those around.

css files have a nasty habit of growing over time, and then you can never be sure that your site is now using it all, or if that chunk of obsolete css is quite as obsolete as it looked.

A bit off my own topic, you can break your css down into several smaller css files each dealing with a particular aspect of the layout and @include them into a master css which could be different for each page.
pjaj is offline
Reply With Quote
View Public Profile
 
Old 06-02-2008, 03:18 PM Re: CSS inventory utility
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
'bout the nearest is

http://www.sitepoint.com/dustmeselectors/
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 06-02-2008, 03:36 PM Re: CSS inventory utility
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
I've used DustMe Selectors.. it's pretty good
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 06-02-2008, 06:52 PM Re: CSS inventory utility
pjaj's Avatar
Average Talker

Posts: 17
Name: Peter Jennings
Location: Oxfordshire UK
Trades: 0
Quote:
Originally Posted by chrishirst View Post
Correct me if I'm wrong, but this appears to be a Mac only Firefox add-on.
My Windows version of FF doesn't seem to understand any of the files, and the "User Interface" page on sitepoint.com looks very Mac-ish.
pjaj is offline
Reply With Quote
View Public Profile
 
Old 06-02-2008, 08:21 PM Re: CSS inventory utility
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
seems to work perfectly well on my Windows 2000 & Firefox 2.0.0.14
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 06-02-2008, 09:43 PM Re: CSS inventory utility
pjaj's Avatar
Average Talker

Posts: 17
Name: Peter Jennings
Location: Oxfordshire UK
Trades: 0
Quote:
Originally Posted by chrishirst View Post
seems to work perfectly well on my Windows 2000 & Firefox 2.0.0.14
My bad, I clicked on the wrong link and downloaded the package rather than the install link.

Looking good - thanks all.
pjaj is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to CSS inventory utility
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.23938 seconds with 12 queries