[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ActiveGS
Just learned a new thing today - I don't even know IE has this
conditional comment thing - so now everything is clear to me.
http://www.javascriptkit.com/howto/cc2.shtml
Conditional Comments (CC) is basically a new set of comment-like tags
that IE 5+ supports. These tags look very much like the good old
comment tag- and in fact are treated as such by all browsers except
IE, in which they operate a little more intelligently. Using CC, you
can selectively "comment out" any portion of your page in a way that
only IE interprets the containing content, or the other way around, so
all browsers except IE 5+ gets to open up the Pandora box. Here are
the basic two new tags of IE that make this possible:
#1:
<!--[if IE]>
You are using IE (IE5+ and above).
<![endif]-->
#2:
<![if !IE]>
You are NOT using IE.
<![endif]>