<!-- 브라우저가 IE계열일때... --> <!--[if IE]> <style type="text/css"> body { background: #FF3E00; } </style> <script type="text/javascript"> //<![CDATA[ (function(){ alert('IE8'); })(); //]]> </script> <![endif]--> <!-- 브라우저가 IE8 일때... --> <!--[if IE 8]> <style type="text/css"> body { background: red; } </style> <![endif]--> <!-- 브라우저가 IE8 미만일때... --> <!--[if lt IE 8 ]> <style type="text/css"> body { background: orange; } </style> <![endif]--> <!-- 브라우저가 IE8 이하일때... --> <!--[if lte IE 8 ]> <style type="text/css"> body { background: yellow; } </style> <![endif]--> <!-- 브라우저가 IE8 이상일때 --> <!--[if gte IE 8 ]> <style type="text/css"> body { background: green; } </style> <![endif]--> <!-- 브라우저가 IE8 초과일때 --> <!--[if gt IE 8 ]> <style type="text/css"> body { background: blue; } </style> <![endif]-->