Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cleaning up any unused css styles?

Status
Not open for further replies.

x6213

Programmer
Aug 17, 2005
17
US
I have a 4000+ line css file that has been bloated from every designer that has appended to it over the years and I'm think a lot of it is not used. Other than doing a line by line search for the class/id field in the 50+ pages using this stylesheet and manually removing them,
is there a software solution/dreamweaver extension that can assist me?
 
lots of text editors have a "search in files" feature that lets you search through directories. i use Textpad to do this.

-jeff
try { succeed(); } catch(E) { tryAgain(); } finally { rtfm(); }
i like your sleeves...they're real big
 
In Dreamweaver, just highlight the name used in the css file, right-click and do a find-and-replace, using the dropdown to select 'Entire current local site'

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first.
'If we're supposed to work in Hex, why have we only got A fingers?'
Drive a Steam Roller
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top