[HTML]IE 관련 if IE

WEB/HTML & CSS 2014. 8. 19. 10:17


<!--[if IE 8]> <link rel='stylesheet' href='ie8.css' type=text/css><![endif]-->

<!--[if IE 7]> <link rel='stylesheet' href='ie7.css' type=text/css><![endif]-->

<!--[if IE 6]> <link rel='stylesheet' href='ie6.css' type=text/css><![endif]-->

if IE 사용법


<!--[if !IE]> <![endif]-->ie브라우저가 아닐 경우

<!--[if IE]> <![endif]--> ie브라우저일 경우

<!--[if IE 8]> <![endif]-->ie8 브라우저

<!--[if IE 7]> <![endif]--> ie7 브라우저

<!--[if IE 6]> <![endif]--> ie6 브라우저

<!--[if lt IE 8]> <![endif]--> ie8미만 브라우저

<!--[if lte IE 8]> <![endif]--> ie8이하 브라우저

<!--[if gt IE 8]> <![endif]--> ie8초과 브라우저

<!--[if gteIE 8]> <![endif]--> ie8이상 브라우저