CSS Style sheet notes
Top 10 rules to consider when implementing CSS:
1. Test in all available browsers.
2. Use external stylesheets
3. Ensure it validates.
4. Pay close attention to order of precedence. Inline styles overrule external styles. But it gets trickier than that...for example, when you assign two classes to the same element, it is not the order in which the classes are assigned (to an element) that matters, but the order in which they were declared (in the CSS ruleset).
5. Always write solid, semantic HTML, reducing your container count to the least possible containers to achieve the layout you want. There's nothing worse than seeing a morass of CSS that deals with lots of containers - many of them unneeded.
6. When using floating elements, always put a clearing element below your floats.
7.
8.
9.
10.