Architecting CSS

Garrett Dimon’s article Architecting CSS contains some useful guidelines for organising CSS. It can be really tricky to keep track of what every CSS rule does when a site grows large or a design becomes complex, so tips like these are good.

After spending too much time trying to figure out what does what when going back to make a few simple changes to an old site, I’ve become motivated to improve in this area. Tidy my CSS files are not. At least not as tidy and structured as they could (and should) be.

  • August 23, 2005
  • Comments closed
  • Posted in

Comments

1. August 23, 2005 by Grant Palin

Yeah, I read that article about a week ago. I got some good information from it, and am using some of the suggested techniques while working on a new design for my website.

One massive file gets really tedious when trying to find something in particular, so I've started from scratch several component stylesheets...one for forms, one for layout, one for colours/typography...That makes work easier, as I now have a better idea of where a particular rule would be located.

Sorry, comments are closed for this post.

Information, sponsorship, and externals

About the author

Roger Johansson is a Swedish web professional specialising in web standards, accessibility, and usability. More about me and this site.

Subscribe

Looking for web hosting?

Try DreamHost!

Use the promo code 456BEREASTREET3 to save USD 20 when you sign up!

Latest articles

Validation statistics from Nikita the Spider Comments off
An analysis of the sites crawled by the bulk validation tool Nikita the Spider during March 2008.
Authentic Jobs API and Affiliates program Comments off
The Authentic Jobs job listing service now has a public API and an affiliate program.
What does Acid3 mean to you and me? Comments off
Opera and Apple have announced that their web browsers pass the Acid3 Browser Test, but how will that help web designers and developers?
Designing Web Navigation (Book review) Comments off
Learn the fundamentals of navigation design and design better navigation systems for large and small sites as well as for web based applications.
DOMAssistant bundle for TextMate Comments off
To save keystrokes and speed up development I have created a DOMAssistant bundle for TextMate.
First impressions of Internet Explorer 8 Beta 1 Comments off
My impressions after trying out Internet Explorer 8 Beta 1 for a couple of days.

More articles

Favourites, here and elsewhere

Affiliation

  • NetRelations
  • Kaffesnobben
  • Dagens recept
  • 9rules network member

Support this site

Show your support by buying a book or two from SitePoint or getting me something from my Amazon Wish List.