CSS IE Hack
- Posted at 2007/05/09 22:40
- Filed under 어리버리/이럴수가!
- IE 6 이하
* html { ... }
- IE 7 이하 (두가지 동시에 사용)
*:first-child+html { ... } * html { ... }
- IE 7 에서만
*:first-child+html { ... }
- IE 6 제외한 최신 브라우저 (IE7, Mozila, Opera, Safari? )
html>body { ... }
- IE 7 제외한 최신 브라우저
html>/**/>body { ... }
- Comment Hack
〈!--[if IE 6]>
According to the conditional comment this is Internet Explorer 6
〈![endif]-->
출처 : ui naverdesign
Posted by mkyoon
- Tag
- css, hack, ie
- Response
- 1 Trackback , No Comment
Trackback URL : http://mkyoon.com/trackback/34
Trackbacks List
-
이번 숙제로 알아버린 꼼수들
Tracked from 블로그 제목 2007/05/22 17:05 Delete1. float 된 div는 display: inline;을 지정해줘야IE에서 margin 두배 현상이 일어나지 않는다.그래도 float 된 곳에는 margin을 주지 말자.2.float 된 div들을 감싸는 부모 div에overflow: hidden;을 지정해줘야 완전히 감싸게 된다.요걸 안줘도 감싸는 IE가 신기할세.혹은 float된 div들 끝에 의미없는div (clear: both;)를 추가한다. <- 요건 비추. 어쩔 수 없을 때만 쓰..