1. Avoid CSS Expressions
2. Avoid Filters
3. Specify units for non-zero values, but not for zero values.
4. Don’t use quotation marks around paths/URLs when setting a background image or loading in an imported file
5. Try to avoid applying padding/borders and a fixed width to an element. Rather, apply padding to the parent element.
6. Minimize number of [...]
Archive for the ‘CSS’ Category
Best Practices of CSS
Posted in CSS, Usability on May 27, 2009 | Leave a Comment »