CSS Best Practices
CSS is my favorite part of the theme-coding process because this is where you get to really customize everything. However, there are some important “best practices” that everyone should know:
Use a CSS reset to eliminate browser inconsistencies
Organize your stylesheet logically and comment your code
Combine elements when possible
Create your HTML first, before beginning the CSS
Understand the difference between inline and block elements
Use “margin: 0 auto” to center layouts
Avoid using browser-specific hacks if possible
Use absolute positioning sparingly
Validate your CSS













