CSS Best practice
- Use classes and IDs carefully and sparingly.
- Use multiple style sheets
- Use <div> to create context
- Use <span> for inline style changes
- Use shorthand properties
- Use sprites for small images
- Keep your code organized
- Keep a library of css templates
- Declare your XHTML pages with a DOCTYPE of xhtml1
- Use w3c's validators
- Use consistent naming conventions
- Use plenty of comments