From the category archives:

Browsers

CSS Style overload - Remove unused CSS Styles

by Keiron on October 23, 2007

I design sites (not well most of the time!) and often pinch bits and bobs from the various CSS stylesheets I’ve created over the years, generally I normally end up coming up with something that looks at least half decent!

However, all that cutting and pasting leaves my stylesheets in a mess - with tonnes of unused CSS styles!

I spotted a reference to Dust-Me Selectors today on San Baldo, and using this fantastic Firefox Extension I have managed, in the space of minutes to reduce on stylesheet from an unmanageable 600 lines to a mere 200!

It extracts all the selectors from all the stylesheets on the page you’re viewing, then analyzes that page to see which of those selectors are not used. The data is then stored in your user preferences, so that as you continue to navigate around a site, selectors will be crossed off the list as they’re encountered.

You’ll end up with a profile of which selectors are not used anywhere on the site.

{ 2 comments }

Firefox 2.0 returns tabs from the dead!

by Keiron on October 27, 2006

I quite like the sound of this, being able to bring tabs back from the dead in Firefox 2.0 will be fantastic. My only concern being, is this going to bloat the memory requirements of FF2.0 even more?

I’m not upgraded yet, but often my Firefox memory roams upto 80-120MB!!! Ouch!

Thoughts anyone?

{ 0 comments }