ie8에서 head안에 script type="text/javascript"이..어떤영향을 미치나요..
도손
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd
html xmlns=http://www.w3.org/1999/xhtml
head
titleTEST/title
meta http-equiv=content-type content=text/html; charset=euc-kr /
meta http-equiv=Content-Script-Type content=text/javascript /
meta http-equiv=Content-Style-Type content=text/css /
meta http-equiv=X-UA-Compatible content=IE=edge /
!만약 여기에 script type=text/javascript src=test.js/script이 들어가면..여백이 생겨요..
style type=text/css
* {margin:0; padding:0;}
html {width:100%; height:100%; overflow-y:scroll;}
body {width:100%; height:100%;}
img,fieldset {border:none;}
em {font-style:normal;}
li {list-style:none;}
table {border-spacing:0px; border:none;}
caption,legend,hr {visibility:hidden; width:0px; height:0px; overflow:hidden; position:absolute; top:0px; left:-5000px; display:block; font-size:0em; line-height:0em;}
a {text-decoration:none;}
a:hover {}
hr.lineCut {clear:both; position:relative;}
#wrap {position:relative; width:100%; min-width:1003px; height:100%;}
#wrap #contentHead {height:208px; position:absolute; top:0px; font-family:돋움,dotum,굴림,gulim,Verdana, Arial, Helvetica, sans-serif; line-height:1.5em; font-size:0.75em;}
#wrap #contentBody {margin:0 auto; width:1003px; min-height:100%; _height:100%; background:red;}
#wrap #contentBody #container {position:relative; padding:0 0 100px 0; background:blue; min-height:350px; _height:350px;}
#wrap #contentFoot {position:relative; background:yellow; margin:-180px 0;}
/style
script type=text/javascript src=test.js/script - 여기 아래로만 있어야 하단여백이 안생깁니다.
/head
body
div id=wrap
div id=contentHead
/div
div id=contentBody
div id=container
pTEST/p
div id=sideBar
ul
litop/li
li방문예약/li
li견적문의/li
liQ&A/li
liEVENT/li
/ul
/div
hr class=lineCut /
/div
/div
div id=contentFoot푸터
/div
/div
/body
/html
---------------------------------
IE8에서 head안에 script type=text/javascript src=js/test.js/script 이부분이 없으면
하단에 여백이 생기는데... 원래 그런건가요.. 있으면 꽉 채워지는데 없으면 여백이 생겨서..ㅠㅠ
엄청나게 궁금해요.. 왜 자바스크립트구문이있으면 여백없이 꽉 채워지고..
없으면 하단에 마진처럼 여백이 생기는지..(-_-) ie8만 그러네요;;
----
인코딩타입 선언했습니다.(_ _ )a
-
루라
이니코딩셋도했었는데..안되더라구요.. 일단 문제는 script..이건데 이게 웃긴게 head마지막에 들어가야..하단 여백이 없어져요.. title이나 메타뒤에 붙으면..그대로 여백이...(-_-)
-
츄릅
html{overflow-y:scroll;} 이건 상관이 없을까요 +_+??(그냥 궁금해서요 이부분의 역할이 뭘지 ;;)
-
한지잠
인코딩 타입이 선언안되있네요
-
엘핀
우선 코드셋부터 셋팅해주시겠어요^^?
-
단순랩퍼
html{overflow-y:scroll;} 이거때문이었네요..감사합니다...(_ _ )헐;;;신기하다..
번호 | 제 목 | 글쓴이 | 날짜 |
---|---|---|---|
2696043 | 제이쿼리 .scroll() 관련 질문드립니다 | 이거이름임 | 2025-05-26 |
2695984 | 마크업상으로 하단에 있으나 우선적으로 이미지파일을 다운로드받는 방법 (1) | 들꿈 | 2025-05-25 |
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 |