사용예)
<!--[if IE 6]><link rel="stylesheet" href="../css/ie6.css" type="text/css" /><![endif]-->
<!--[if IE 7]><link rel="stylesheet" href="../css/ie7.css" type="text/css" /><![endif]-->
<!--[if IE 8]><link rel="stylesheet" href="../css/ie8.css" type="text/css" /><![endif]-->
<![if !IE]><link rel="stylesheet" href="../css/common.css" type="text/css" /><![endif]>
<!--[if IE 6]><link rel="stylesheet" href="../css/ie6.css" type="text/css" /><![endif]-->
<!--[if IE 7]><link rel="stylesheet" href="../css/ie7.css" type="text/css" /><![endif]-->
<!--[if IE 8]><link rel="stylesheet" href="../css/ie8.css" type="text/css" /><![endif]-->
<![if !IE]><link rel="stylesheet" href="../css/common.css" type="text/css" /><![endif]>
사용법 | 설명 |
---|---|
<!--[if IE]><![endif]--> | 모든 IE에서만 적용 |
<!--[if IE 6]><![endif]--> | IE6 버전에서만 |
<!--[if IE 7]><![endif]--> | IE7 버전에서만 |
<!--[if lt IE 7]><![endif]--> | IE7 버전보다 낮은 버전에서만 (7버전 제외) |
<!--[if lte IE 7]><![endif]--> | IE7 버전보다 낮은 버전에서만 (7버전 포함) |
<!--[if gt IE 7]><![endif]--> | IE7 버전보다 높은 버전에서만 (7버전 제외) |
<!--[if gte IE 7]><![endif]--> | IE7 버전보다 높은 버전에서만 (7버전 포함) |
<![if !IE]><![endif]> | IE가 아닌 다른 브라우저만 |