Sign In/My Account | View Cart  
advertisement

Article:
 The Vanishing Image: XHTML 2 Migration Issues
Subject: Use of Conditional Comments
Date: 2003-07-04 20:50:34
From: MikeyC Cacciottolo
Response to: Use of Conditional Comments

IE6 sp1 - english running on Windows NT &
IE6 sp1 - english running on Windows XP


Here is the exact example I used (and I just double-checked it):


<!-- [if !IE] -->
i can see this in Internet Explorer
<!-- <![endif] -->


No Previous Message Previous Message Move up to Parent Message Up Next Message No Next Message


Titles Only Full Threads Newest First
  • Use of Conditional Comments
    2003-07-05 04:38:08 Florian Bauer [Reply]

    That is strange:
    Here is my example:


    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
    <head>
    </head>
    <body>


    <!--[if !IE]> -->
    IE doesn't see this.
    <!-- <![endif] -->


    </body>
    </html>


    I checked this with ie6 on winxp, and ie5.5 on win98, both in the german version.
    I also tried your example and the conditional comments do also work there.
    strange...
    cheers
    Florian


Sponsored By: