wiki.chadlindstrom.ca

Web Development Best Practices and Design Patterns




CSS Resources Index

Contents

Snippits and Examples

In no particular order, the following are a list of CSS snippits and modules that are developed for example and reuse. The approach taken in most cases should be modular, re-usable and extendable.

Local Examples

3rd Party Examples

Best Practices and Programming Style

The following is a list of demonstrated modules, practices and styles that are considered 'best practices' and work well in multi-developer projects of all sizes.

Do's and Don'ts

Do
use stylesheets for styles and layout
use semantic markup, classes and id's [1] [2] [3]
define a doctype, it helps shape how your browser renders and executes
Don't
use stylesheets for interaction/behaviour. Pseudo-classes are not meant to display menus. That's what the behaviour layer is for.
globally apply left or right margins or styles to textural elements, you will thank me later. Instead, use indent styles and apply to blocks of elements. This allows to align different/unique tags/elements on a page. More explanation why this is a don't

Other Resources

Forms

Retrieved from "http://wiki.chadlindstrom.ca/index.php/CSS_Resources_Index"

This page has been accessed 2,488 times. This page was last modified 08:47, 11 January 2007.


This page has been accessed 2,488 times. This page was last modified 08:47, 11 January 2007.