March 1, 2004

CSS spring cleaning?

Barry Parr brings up a very good idea, revis­it­ing and clean­ing up your style sheets.

I’ve been work­ing on a big project, and as it grew during the devel­op­ment cycle I took a week to clean up and refac­tor the sheets so that, say, stats pages weren’t bur­den­ing the user by load­ing up blogs styles.

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

I also need to go through my tem­plates for inline styles, which are a quick and dirty way to try out a style, but it takes dis­ci­pline (which I’m lack­ing) to actu­ally remem­ber to remove the inline style and trans­form it into a rule or class in a linked sheet.

I need to find a good ref­er­ence for sed, as I under­stand it’d be a quick way to scan my files for the pres­ence of inline styles.

Filed under: Web design

Next:
Previous:

Related

Comments