I ve designed a new theme but there is alots of css unused or full of errors. theme fuction work well. I checked with firebug. its listing alot of unused css. but its headache to find classes and id one by one. is there any tool which shows used part of css in theme???
There's a firefox plugin that you can use to find unused CSS. It's called Dust-Me Selectors. Check it out: https://addons.mozilla.org/en-US/firefox/addon/dust-me-selectors/
Careful though just because the selectors aren't used on any particular page doesn't mean they are not used at all! They might be used somewhere else...
Good points. But I thought I read that the dust add on you can set it up to review your sitemap.xml file. That way it scans all of your pages to see what's used on your site. Seems fail proof to me but it's always a good idea to back up before experimenting.
there's also a web app that does that. It's called http://Unused-CSS.com. It'll scan multiple pages and let you download a clean version of the CSS files.