Skip to main content
Participant
September 6, 2006
Question

Removing unused CSS declarations

  • September 6, 2006
  • 1 reply
  • 389 views
Hi,

My CSS document has become a bit of a beast! Is there any way of removing CSS declarations from a stylesheet that are unused in the web project. I know Dreamweaver has a reports facility that can remove some types of redundant code, but can't see that there is a feature to do this particular thing.

Any help would be appreciated.
This topic has been closed for replies.

1 reply

Inspiring
September 6, 2006
No. The best you could do would be a site-wide Find for suspect selectors.

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"Daisybell1" <webforumsuser@macromedia.com> wrote in message
news:edm1rl$amu$1@forums.macromedia.com...
> Hi,
>
> My CSS document has become a bit of a beast! Is there any way of removing
> CSS
> declarations from a stylesheet that are unused in the web project. I know
> Dreamweaver has a reports facility that can remove some types of redundant
> code, but can't see that there is a feature to do this particular thing.
>
> Any help would be appreciated.
>


September 6, 2006
that would be a great idea for an extension. i have wondered the same thing.