1. Always use strict doctype and standards-compliant HTML/CSS2. Always use a reset at the start of your css3. Use -moz-opacity:0.99 on text elements to clean up rendering in Firefox, and text-shadow: #000 0 0 0 in Safari4. Never resize images in the CSS or HTML5. Check font rendering in every browser. Don't use Lucida6. Size text as a % in the body, and as em's throughout7. All layout divs that are floated should include display:inline and overflow:hidden8. Containers should have overflow:auto and trigger hasLayout via a width or height9. Don't use any fancy CSS3 selectors10. Don't use transparent PNG's unless you have loaded the alpha
Posted by Rene LeMerle at 4:02 AM GMT