Tanasos
Tanasos

Reputation: 4098

CSS check-up tool

I was wondering if the CSS Usage add-on for Firefox FireBUG checks the whole website for cross-used CSS rules and styles or does it check only the page that you are currently on and scanning?

What I mean by this > If I remove the styles marked as "unused" and they are referring to inner pages, that would ruin the website I am working on since it is not a one-page site. Does it scan all the pages or only the current page I am viewing?

Upvotes: 0

Views: 123

Answers (3)

Tanasos
Tanasos

Reputation: 4098

As Neophyte Polyhistor and Vann'Tile Ianito said - this add-on for Firebug does scan ONLY the page you are currently viewing.

I found another tool that seems to do the task that I was after. It is called Dust-Me Selectors. It seems to scan the whole site and all the files linked to it.

This solved my problem described in the first post. I hope it helps someone else in time.

Thanks!

Upvotes: 1

vanntile
vanntile

Reputation: 2787

Even if the description begins with

CSS Coverage is an extension for Firebug which allows you to scan multiple pages of your site to see which CSS rules are actually used in your site.

Each page is scanned separately and manually. So it is not a very usefull extension.

Upvotes: 1

Pouya Ataei
Pouya Ataei

Reputation: 2169

How does it work?

  • Open up the first page of the site you want to check and press the "Scan" button in the "CSS Coverage" Firebug tab.
  • In case of a rich (Ajax or DHTML) site, open up as many divs/popups/tabs in the page as possible and press "Scan" again.
  • Visit other pages of your site and press "Scan" again.

Copying it from the About This Addon section of the link you've given, it's clearly obvious you have to scan each page separately.... , perhaps you may wanna try reading some other places before sending a question.

Upvotes: 3

Related Questions