Conditional comments of IE

Creation & Innovation

Moderator: Moderators

Conditional comments of IE

Postby finoy » Wed Aug 19, 2009 10:16 pm

Different browsers support different tags/ scripting features, and as webmasters, the challenge for many of us has always been on how to incorporate and make use of these various features while at the same time taking browser degradability into consideration.

Well, IE (starting in IE5+ to be exact) offers a unique solution to this whole content degradability matter that is, in our opinion, truly revolutionary, both in its ease of implementation, and versatility. Called Conditional Comments (CC), it was love at first sight for us. Ok, time to stop the rumbling, and start talking.


2. Conditional comment examples

<!--[if lt IE 7]>
<script type="text/javascript" src="js/minmax.js"></script>
<![endif]-->


For More Example...
finoy
 

Re: Conditional comments of IE

Postby prasanth » Wed Aug 19, 2009 10:48 pm

This is great! I'm sure this will be very helpful to all developers!

Thanks sharing it here Finoy!
Mr. P

prasanth
 
Posts: 304
Joined: Fri Nov 24, 2006 1:52 am


Return to Web Design

Who is online

Users browsing this forum: No registered users and 45 guests