인터넷 익스플로러 (IE; Internet explorer)
윈도에 기본으로 포함되어 있다. 그런데 생각보다 업데이트 없이 그대로 쓰는 사람들이 많다.
- xp 및IE 6~9의 처형이 시급하다.
- IE 10 부터 큰 성능 향상이 있었다. 구글 크롬과 거의 비슷한 수준이다.
- Css Media Query는 IE9 부터 지원한다.
HTML에서 IE 검출
실질적으로는 주석문 안에 내용이 들어 있기 때문에 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 { ... }
이런 식으로 넣으면 된다.
누구나 수정하실 수 있습니다. 위키 사용법 참고하세요. |
---|