html | 브라우저별 CSS불러오는방법

페이지 정보

작성자 maura80 작성일15-08-17 17:36 조회2,844회 댓글0건

본문


00/ IE6.5 버전


<!--[if IE 6.5000]>
<link rel="stylesheet" type="text/css" href="CSS명.css" />
<![endif]-->

 

 

 


01/ IE 모든 버전

?

<!--[if IE]>
<link rel="stylesheet" type="text/css" href="CSS명.css" />
<![endif]-->
 

 

 

 

02/ IE6 버전


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

 

 


03/ IE7 버전


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

 

 

 


04/ IE7 버전(제외) 보다 낮은 버전


<!--[if lt IE 7]>
<link rel="stylesheet" type="text/css" href="CSS명.css" />
<![endif]-->

 

 

 

 

05/ IE7 버전(포함) 보다 낮은 버전


<!--[if lte IE 7]>
<link rel="stylesheet" type="text/css" href="CSS명.css" />
<![endif]-->

 

 

 


07/ IE7 버전(제외) 보다 높은 버전

?

??<!--[if gt IE 7]>
<link rel="stylesheet" type="text/css" href="CSS명.css" />
<![endif]--> 

 

 


08/ IE7 버전(포함) 보다 높은 버전


<!--[if lte IE 7]>
<link rel="stylesheet" type="text/css" href="CSS명.css" />
<![endif]-->

 

 

 


etc01/ IE가 아닌 다른 브라우저만


<!--[if !IE]>
<link rel="stylesheet" type="text/css" href="CSS명.css" />
<![endif]-->

   

 

댓글목록

등록된 댓글이 없습니다.