Re: [css-d] Tool to tell me where a rule is used

2010-07-10 Thread Ellen Herzfeld
On 9 Jul 2010, at 14:18, Rob Emenecker wrote: There is no tool that checks CSS against a site looking for orphaned rules in the CSS. At least none that I know of. If the site is not complex, and you have the means for visualizing it offline -- either locally or on a testing server -- I

Re: [css-d] Tool to tell me where a rule is used

2010-07-10 Thread Ellen Herzfeld
I tried the three add-ons, Dust-Me Selectors, CSS Usage and Firefinder for Firebug (most likely a bit rapidly) and all three seem to get me at least some of the information I need. I only have 10 pages done at this time and it was already a bit fastidious going to all of them one by one to

Re: [css-d] Tool to tell me where a rule is used

2010-07-09 Thread russ
So, are you wanting a tool that will look through the CSS and report which of the classes or ids do, or don't, show up in the HTML? I don't have a suggestion, I'm just trying to understand the goal. Russ - Original Message - From: Ellen Herzfeld s...@xlii.org To:

Re: [css-d] Tool to tell me where a rule is used

2010-07-09 Thread Tim Climis
On Friday, July 09, 2010 2:20:21 am r...@catjuggling.com wrote: So, are you wanting a tool that will look through the CSS and report which of the classes or ids do, or don't, show up in the HTML? No. She's trying to find a tool that will look through the CSS and report which *rules* show up

Re: [css-d] Tool to tell me where a rule is used

2010-07-09 Thread Rob Emenecker
For example: ul p span or ul li:nth-of-type(7). Are those selectors used? They have no classes or id's to search on, which makes them very hard to find using traditional find tools. There is no tool that checks CSS against a site looking for orphaned rules in the CSS. At least none that

[css-d] Tool to tell me where a rule is used

2010-07-08 Thread Ellen Herzfeld
Hello, I am doing a make over of a large site. There is a lot of tweaking. I use firebug and the webkit dev tools (and even the IE dev tools sometimes) but I'm looking for something different. When I go over my stylesheets to clean them up and organize them in a way that's comprehensible to

Re: [css-d] Tool to tell me where a rule is used

2010-07-08 Thread Chris F.A. Johnson
On Thu, 8 Jul 2010, Ellen Herzfeld wrote: Hello, I am doing a make over of a large site. There is a lot of tweaking. I use firebug and the webkit dev tools (and even the IE dev tools sometimes) but I'm looking for something different. When I go over my stylesheets to clean them up and

Re: [css-d] Tool to tell me where a rule is used

2010-07-08 Thread Jay Tanna
The only way I can think of is to to do a search for class name or ID name. Notepad is pretty good doing this. Try Edit, Find. Then you can use Find Next to go to the next occurence. For ID you will have only one item on the page so that is not the problem. hth --- On Thu, 8/7/10, Ellen

Re: [css-d] Tool to tell me where a rule is used

2010-07-08 Thread David Laakso
Ellen Herzfeld wrote: I would like a tool that takes a rule and goes through my pages and gives me a report on where the rule is actually really used. So if it isn't used anywhere anymore (most likely because I changed something somewhere) I will be able to remove it safely. Does this

Re: [css-d] Tool to tell me where a rule is used

2010-07-08 Thread Ellen Herzfeld
On 8 Jul 2010, at 19:04, David Laakso wrote: Perseverance and a clock without hands work well... :-) In the meantime, this finds unused CSS selectors: https://addons.mozilla.org/en-US/firefox/addon/5392/ Best, ~d Thanks for the tip. I'll try it out and will report back. Strange

Re: [css-d] Tool to tell me where a rule is used

2010-07-08 Thread Ellen Herzfeld
On 8 Jul 2010, at 19:01, Chris F.A. Johnson wrote: There's a standard tool on *nix systems called grep. For example, searching for the class 'nav', this will print the line numbers as well as lines containinf it: grep -n 'class=.*nav.*' file.html I believe it can be installed on

Re: [css-d] Tool to tell me where a rule is used

2010-07-08 Thread Dejan Kozina
Nearly there! I believe this Firebug extension might be what you're looking for: http://robertnyman.com/firefinder/ Firefinder is an extension to Firebug (in Firefox) and offers the functionality to, in a quick way, find HTML elements matching chosen CSS selector(s) or XPath expression. It allows

Re: [css-d] Tool to tell me where a rule is used

2010-07-08 Thread Ellen Herzfeld
On 8 Jul 2010, at 19:00, Jay Tanna wrote: The only way I can think of is to to do a search for class name or ID name. Notepad is pretty good doing this. Try Edit, Find. Then you can use Find Next to go to the next occurence. For ID you will have only one item on the page so that is

Re: [css-d] Tool to tell me where a rule is used

2010-07-08 Thread Climis, Tim
-Original Message- From: css-d-boun...@lists.css-discuss.org [mailto:css-d- boun...@lists.css-discuss.org] On Behalf Of Ellen Herzfeld Sent: Thursday, July 08, 2010 2:17 PM To: css-d@lists.css-discuss.org Cc: jta...@rocketmail.com Subject: Re: [css-d] Tool to tell me where a rule