ie7 에서 스크롤이 두개로 보입니다..
과꽃
다른 브라우저에선 괜찬은데 유독 ie7에서만 옆에 또하나의 스크롤이 보입니다.
body영역에 overflow-x:hidden; overflow-y:scroll; 준게 다인데요..
저 다른 스크롤이 어디서 나왔는지 계속 뒤져봐도 모르겠습니다..
혹시 앞에 reset부분에서 잘못된건지 싶기도 하고요..
body에 준 스크롤이 전분데요..
css
* {margin:0; padding:0;}
html {margin:0; padding:0;}
* html #wrap {height:100%;}
body {padding:0; margin:0; overflow:hidden; background:#dbd9cc; display:block; overflow-x:hidden; overflow-y:scroll;} body{font:0.75em Dotum, 돋움, Gulim, 굴림, sans-serif;color:#333; height:100%;}
#accessibility,.skip, hr,legend,h1, h2, h3, h4, h5, h6{position:absolute;width:0;height:0;font-size:0;line-height:0;overflow:hidden;visibility:hidden;text-indent:-1000em;}
body, div, h1, h2, h3, h4, h5, h6, ul, ol, li, dl, dt, dd, p, form, fieldset, input, table, tr, th, td{margin:0;padding:0}
ul, ol, li{list-style:none}
fieldset, img{border:none}
button { margin:0; padding:0; border:0; background-color:transparent; overflow:visible;}
* html input {margin:-1px 0;}
*:first-child+html input {margin:-1px 0}
input.checkbox {width:13px;height:13px;vertical-align:top;}
img {display:block;}
input.checkbox {width:13px; height:13px; vertical-align:top;}/***** layout ****/
.wrap {width:100%; height:100%;}
.header {width:100%; height:109px; background:url(../images/bg_top.gif) repeat-x;}
.img_header {width:1256px; height:109px; background:url(../images/img_topmenu.jpg) no-repeat; clear:both;}
.contents {width:100%; background:#ffcc33;}
.layout_contents {}
.layout_contents li{float:left;}
.left_content {width:134px; height:934px; background:red;}
.center_content {width:949px; height:934px; background:url(../images/img_body.jpg) no-repeat;}
.right_content {width:173px; height:934px; background:url(../images/img_right.jpg) no-repeat;}
.footer {height:514px; background:url(../images/bg_footer.gif) repeat-x; clear:both;}
.img_footer {width:1256px; height:513px; background:url(../images/img_footer.jpg) no-repeat;}
html
body
div class=wrap
div class=header
div class=img_header
/div!--/img_header--
/div!--/header--
div class=contents
ul class=layout_contents
li class=left_contentimg src=images/img_left.jpg alt=/
/li!--/left_content--
li class=center_content
/li!--/center_content--
li class=right_content
/li!--/right_content--
/ul!--/layout_contents--
/div!--/contents--div class=footer
div class=img_footer
/div!--/img_footer--
/div!--/footer--
/div!--/wrap--
/body
-
앵겨쪼
익스플로러 개발자도구 여신다음 html과 body 영역을 한번 체크해보세요~
-
가림
감사합니다.수다님^^;; html에 주니 제대로 되네요..아..너무 몰라서..지송.
근데 두개가 보인다는건 html에 안주었어도 ie7에서는 이미 스크롤이 생겼단 말인가요??? html 에 주면 하나로 보이고 body영역에 주면 두개인거 보면 ie7이 body에선 html 로도 인식을 하는건가 싶어서요.. -
드리
overflow를 body가 아니라 html에 주세요 ^^
번호 | 제 목 | 글쓴이 | 날짜 |
---|---|---|---|
2695934 | tr 속성값 (9) | 새 | 2025-05-25 |
2695905 | ASP로 개발됐을 때 css가 달라져요 ㅠㅠ (4) | 슬아라 | 2025-05-24 |
2695878 | form을 이용한 다른 페이지로 넘기는 방법을 알려주세요 (1) | 핫파랑 | 2025-05-24 |
2695844 | 저기 암호화 및 복호화 프로그램.. 만들어볼려는대 (2) | 한빛 | 2025-05-24 |
2695814 | [질문] PDA에서 애플릿이 가능한가요? (1) | 봄시내 | 2025-05-24 |
2695785 | 웹 설정 도와줄분 | 화이트캣 | 2025-05-23 |
2695730 | 갑자기 기억이 안나는데 accesskey 속성.. | 빛나라 | 2025-05-23 |
2695702 | [질문] Java 버전 차이에 의한 오류?!! (2) | 검사 | 2025-05-23 |
2695672 | 자바 임베디드 쪽으로 배우고 싶은데요..질문이요.. (1) | 뽀그리 | 2025-05-22 |
2695647 | 헉! 이클립스(v3.1)에서 발생되는 널포인트 익셉션? ;;; (3) | 아빠몬 | 2025-05-22 |
2695586 | IFRAME 캐싱 질문 | 봄나비 | 2025-05-22 |
2695498 | [질문]실행가능한 jar파일.. 정말 이해가 안가네요... ㅡㅜ;; | 터1프한렩 | 2025-05-21 |
2695468 | 자바랑 이클립스에서요.. | 스킬 | 2025-05-21 |
2695375 | Mysql 연동하는 자바 질문있습니다. | 아리솔 | 2025-05-20 |
2695319 | 파워포인트 파일을 저장할 수 있을까요? | 시윤 | 2025-05-19 |
2695289 | [질문]Tween 값의 정도를 알고 싶습니다. | 타마 | 2025-05-19 |
2695238 | c 와 c++의 시작 (10) | ChocoHoilc | 2025-05-18 |
2695215 | 탑메뉴의 repeat-x .배경이 두가지에요ㅠ ㅠ | 널위해 | 2025-05-18 |
2695187 | 자바스크립트와 자바의 import에 관해서 질문드려요 (1) | 무슬 | 2025-05-18 |
2695116 | 테마 문의 (해당 사이트와 같은 테마 혹은 플러그인) | Sweet | 2025-05-17 |