[EMAIL PROTECTED] schrieb:
There is an easier  way that is not jQuery-or-Javascript-dependent,
since mostly we just want to know is the browser IE  or not. Use
conditional comments around the BODY tag. See 
http://www.puidokas.com/updating-my-css-for-ie7/
. I use :
  <!-- Old Internet Explorer -->
  <!--[if lt IE 7]>
    <body class="IE IElt7">
  <![endif]-->
  <!-- New Internet Explorer -->
  <!--[if gte IE 7]>
    <body class="IE">
  <![endif]-->
  <!-- Any other browser -->
  <!--[if !IE]>-->
    <body class="notIE" >
  <!--<![endif]-->

Danny Wachsstock

To me this looks really ugly. Why not simply:

<!--[if lt IE 7]>
    <link rel="stylesheet" href="ie.css" type="text/css">
<![endif]-->


-- Klaus

Reply via email to