treehouse : what would you like to learn today?
Web Design Web Development iOS Development

Any tips on how to write perfect cross browser CSS?

  • Any tips on how to write perfect cross browser CSS from starting without needing any CSS hack and Conditional stylesheet for any browser ? What CSS habits can make bulletproof CSS ?
  • If you want a page to work perfectly in all modern browsers, CSS-Tables are bullet-proof. They're fully supported in all modern browsers (IE just started supporting them in 8, but with the Google Chrome embeddable engine, IE supports anything WebKit does).
  • Look at what's fully supported. http://www.quirksmode.org/css/contents.html
    ...and having conditional css-includes for IE is not a bad thing.