CSS spring cleaning?

Barry Parr brings up a very good idea, revisiting and cleaning up your style sheets.

I’ve been working on a big project, and as it grew during the development cycle I took a week to clean up and refactor the sheets so that, say, stats pages weren’t burdening the user by loading up blogs styles.

Now that the project is nearing launch I could do well to go back and clean up the sheets.

I also need to go through my templates for inline styles, which are a quick and dirty way to try out a style, but it takes discipline (which I’m lacking) to actually remember to remove the inline style and transform it into a rule or class in a linked sheet.

I need to find a good reference for sed, as I understand it’d be a quick way to scan my files for the presence of inline styles.

This entry was posted in Web design. Bookmark the permalink.