tags:

views:

82

answers:

4

I changed the html multiple times,but without deleting the related css specification.

And now there are quite some useless css there.

Is there an efficient solution to grep all them?

A: 

If I recall correctly DreamWeaver has that functionality.

Cem Kalyoncu
+6  A: 

There's an excellent plugin for FireFox called DustMe that you can try.

PatrikAkerstrand
A: 

Get firebug, and then you can see what's redundant and try getting rid of css rules and see if it makes a difference!

Fiona Holder
It will take lots of time.
Cem Kalyoncu
@cemkalyoncu, cleaning code always takes a lot of time. That's why there's so much messy code out there: people don't take the time.
Elizabeth Buckwalter
A: 

Google search turned up some tools:

Dust Me
Detecting Unused CSS Selectors

Typeoneerror