Great post at 456bereastreet.com.
Essential CSS tips...
1. Use CSS shorthand
2. Specify a unit unless the value is 0
3. Remember case sensitivity
4. Specifying colours
5. Eliminate element types for class and id selectors
6. Default values
7. Don’t redeclare inherited values
8. Take advantage of the cascade
9. Multiple class names
10. Use descendant selectors
11. Avoid quoting URLs
To be continued........
Friday, March 18, 2005
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment