Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Orphan 'Files' vs orphan 'STYLES'?

Guest
Jul 30, 2009 Jul 30, 2009

Developing and maintaining hundreds of web pages for a web site can be a hassle (I know - preaching to the choir.)

DW has a nice feature for identifying and locating unused (orphan) files,

however,

Page designs evolve over time.

Hard to keep track of all pages that call for a style that is no longer defined or have a style definition that is no longer used.

Sure would be nice to be able to

(1) identify and locate unused 'Styles' in stylesheets and/or in documents or to

(2) produce a list of all styles defined in the head of all pages of a web site.

e.g.

last year I created some pages that needed a <p> with a smaller font and had a margin of 10 px on all sides.

I defined that style in the head of the document.

Later I standardized on a style that I use on several pages that is only slightly different.

Created a new style in a style sheet.

Even replaced the style identifier for paragraphs on pages I could find that used the old reference to the style I don't want to use any more.

Problem is - I still have pages that have the old unused style definition in the head of the document.

I know, I can search the site for any source code that contains '.dumstyle_icky' and replace or delete it.

But I've been a proliferous experimentor.

Tons of old pages to wade through.

Am I the only one that has this kind of problem on a site redisign?

Is there an extension, etc., that can help with this kind of houskeeping?

I purchased 'CSS Edit'. Nice CSS editor but no help organizing styles or cleaning up css on existing htm or php documents.

dan h.

TOPICS
Extensions
1.8K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Aug 02, 2009 Aug 02, 2009

If you use Firefox (and everyone should IMHO), there's an add-on for it called Dust-Me Selectors that finds unused CSS selectors in pages and keeps a log to cross check against other site pages.

Firefox Add-on link -

https://addons.mozilla.org/en-US/firefox/addon/5392

SitePoint link -

http://www.sitepoint.com/dustmeselectors/

Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media  Specialists
www.alt-web.com/
www.twitter.com/altweb
www.alt-web.com/blogspot.com

Translate
Community Expert ,
Aug 02, 2009 Aug 02, 2009

If you use Firefox (and everyone should IMHO), there's an add-on for it called Dust-Me Selectors that finds unused CSS selectors in pages and keeps a log to cross check against other site pages.

Firefox Add-on link -

https://addons.mozilla.org/en-US/firefox/addon/5392

SitePoint link -

http://www.sitepoint.com/dustmeselectors/

Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media  Specialists
www.alt-web.com/
www.twitter.com/altweb
www.alt-web.com/blogspot.com

Nancy O'Shea— Product User, Community Expert & Moderator
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Aug 02, 2009 Aug 02, 2009
LATEST

Thank you Nancy,

I think I get more help than I deserve, but, I really do appreciate it...

Dan H.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines