Syntax for Specific Internet Explorer Comments
<!--[if IE ]> HTML Blocks <![endif]--> //All the IE browser
<!--[if !IE ]> HTML Blocks <![endif]--> //All the browser without IE
<!--[if lt IE 7 ]> HTML Blocks <![endif]--> //Lesser then IE version 7
<!--[if gt IE 7 ]> HTML Blocks <![endif]--> //Greater then IE version 7
<!--[if IE 7 ]> HTML Blocks <![endif]--> //IE version 7
<!--[if IE 8 ]> HTML Blocks <![endif]--> //IE version 8
<!--[if IEMobile 7 ]> HTML Blocks <![endif]--> //IE Mobile Browser
<!--[if (gte IE 9)|(gt IEMobile 7)|!(IEMobile)|!(IE)]><!-->HTML Blocks<!--<![endif]--> //gte - greater then equal, gt - greater then
Example
<!--[if IE 8 ]> This is IE8 <![endif]-->
<!--[if !IE 8 ]> This is not a IE8 browser <![endif]-->
Example Program:- (Editor)
Editor is Loading...
Advertisement
0 comments:
Post a Comment