윈도에 기본으로 포함되어 있다. 그런데 생각보다 업데이트 없이 그대로 쓰는 사람들이 많다.
실질적으로는 주석문 안에 내용이 들어 있기 때문에 IE에서만 이것을 인식한다. 세번째의 IE아닌 경우 표시되는 조건문은 주석안에 내용이 들어 있는 것이 아님을 잘 보기 바란다.
<!--[if gte IE 8]> Place content here to target users of Internet Explorer 8 or higher. <![endif]--> <!--[if lt IE 7]> Place content here to target users of Internet Explorer 6 or lower (less than 7). <![endif]--> <![if !IE]> Place content here to target all users not using Internet Explorer. <![endif]> <!--[if IE]> Place content here to target all Internet Explorer users. <![endif]-->
[참조](http://www.mediacollege.com/internet/html/detect/detect-ie.html)
CSS (Cascading Style Sheet)작업시 유용한 코드..
<!--[if lt IE 7]> <html class="ie ie6 lte9 lte8 lte7"> <![endif]--> <!--[if IE 7]> <html class="ie ie7 lte9 lte8 lte7"> <![endif]--> <!--[if IE 8]> <html class="ie ie8 lte9 lte8"> <![endif]--> <!--[if IE 9]> <html class="ie ie9 lte9"> <![endif]--> <!--[if gt IE 9]> <html> <![endif]--> <!--[if !IE]><!-->
이제 css 에는 ..
.ie body { ... }
이런 식으로 넣으면 된다.
누구나 수정하실 수 있습니다. 위키 사용법 참고하세요. |
---|