Differences between revisions 2 and 3
Revision 2 as of 2006-04-13 15:35:52
Size: 609
Editor: 211
Comment:
Revision 3 as of 2006-04-13 16:06:26
Size: 653
Editor: 211
Comment: for the various issues
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## page was renamed from IeBoxModelProblem

[CSS]기반의 WebDesign 레이아웃을 할 때, InternetExplorer의 버그를 다루는 방법

박스가 실제 표시되는 크기는,

  • 일반 브라우저 : width, padding, border 이 모두 합해진 크기.
  • IE : width 가 정해진 크기. (실제 width 는 padding, border를 뺀 크기)

코드예제

#sidebar {
    padding: 10px;
    border: 5px solid black;
    width: 230px; /* for IE */
    voice-family : "\"}"\";
    voice-family : inherit;
    width: 200px; /* original value for other browser */
}

html>body #sidebar {
    width: 200px; /* for opera */
}

CssCrossBrowserIssue (last edited 2011-08-03 11:01:03 by localhost)

web biohackers.net