CSS Filter: making tight CSS files, style guides and learning best practices – help needed.
My fellow CSS enthusiasts,
Here’s me with another ‘what’s the best way to do this’ or ‘is there a template for this’ type questions – it’s my curse in life to ask these! Basically I’d like to hear what folks do for best practices in CSS design (both layout and formatting). I'm not a full time coder - just someone very interested in the topic, and I’m trying to get my stuff looking more professional and to work even better, and think maybe marking up the, err, markup might help. So I have a multi part question:
- style guides: any good examples you’ve found. I’ve seen some examples here (a
visual one, from Stuff and Nonsense and
one over at Dave Shea’s site). Any other good examples you’ve used or created? I’d like, of course, to find a template to speed up annotating these. If you have style guides in general (HTML or anything else – doesn’t have to be CSS) please send them here as well. If you have other things you do besides an actual style guide, tips etc. share those as well, if you can.
- standards: other than creating accessible, compliant designs that satisfy the Validator (the evil W3 corrections site), what do you do to make your code more professional? I split up the layout from the formatting, but would like to know things that help make me a better designer – i.e. do you put things in a certain order in the stylesheet, etc. I know you combine selectors wherever possible – I’m looking for those kind of best practices or standards if you’ve got them. Any recommendations for favourite books, sites and blogs etc. for advanced designing in CSS are always appreciated. There are a slew of them, and I’m looking for good quality stuff – kind of like ‘practical CSS Zen Garden’ type resources. It’s one thing to actually view source – it’s another find someone talking about the source, which I find also helpful.
(I’d ask this over at a CSS forum like CSS Creator but I likes my MeFis, know some of you are designers and know that this is probably a better place for meta discussions of design, best practices, etc. – although if you know of a better forum, let me know that too).
thank you!
posted by phaedon at 5:40 PM on March 9, 2007