Introduction

This topic doesn’t really need an introduction, so lets move on!

Options

DOM wrappers using Conditional Comments

This is the technique used by the jQuery UI site. The basics are that if you wrap your entire page in a DIV with the browser version as the class name, you can just add extra rules to your one stylesheet that will get picked up. Then you can use conditional comments to show the appropriate DIV when necessary.

  1. <body id="home">
  2. <!--[if IE 5]>
  3.  
  4.  
  5. <![endif]-->
  • </body>