가로스크롤바 없애는법.. 제발.. 정보
가로스크롤바 없애는법.. 제발..본문
오류가 나는곳의 주소를 알려주시면 더 빠르고 정확하게 답변 받을 수 있습니다.
오류 주소 : http://www.pointzone.net
안녕하세요
1024해상도에서 가로스크롤바만 없애고 싶은데..
죽어도안되네요..
저번에 질문올렸을때도 여럿조언많이해주셨는데요..
다실패했습니다.. 이미지 줄이는거 이거 노가다로 만든페이라 한계가있구요..
현재 head.php의 일부분입니다.
부탁드릴게요..
----------------------------------------------------------------
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>::: 포인트존 홈페이지에 오신 것을 환영합니다. :::</title>
<style type="text/css">
A:link { COLOR: #666666; FONT-SIZE: 9pt; TEXT-DECORATION: none}
A:active { COLOR: #666666; FONT-SIZE: 9pt; TEXT-DECORATION: none}
A:visited { COLOR: #666666; FONT-SIZE: 9pt; TEXT-DECORATION: none}
A:hover { COLOR: black; FONT-SIZE: 9pt}
TD { COLOR: #666666; FONT-FAMILY: 굴림; FONT-SIZE: 9pt}
<!--
body {
background-image: url(images/bg3.jpg);
background-repeat: repeat-x;
margin-left: 10px;
margin-top: 50px;
background-color: #FFFFFF;
}
.style1 {color: #FFFFFF}
-->
</style>
<script type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<script language="JavaScript">
<!--
function calcHeight()
{
//find the height of the internal page
var the_height=
document.getElementById('the_iframe').contentWindow.
document.body.scrollHeight;
//change the height of the iframe
document.getElementById('the_iframe').height=
the_height;
}
//-->
</script>
</head>
<body onload="MM_preloadImages('images/topxx_02.gif','images/topxx_04.gif','images/topxx_06.gif','images/topxx_08.gif','images/topxx_10.gif','images/topxx_12.gif','images/topxx_14.gif','images/2222.jpg','images/top_02x.gif')">
<table width="1018" border="0" cellspacing="0" cellpadding="0">
오류 주소 : http://www.pointzone.net
안녕하세요
1024해상도에서 가로스크롤바만 없애고 싶은데..
죽어도안되네요..
저번에 질문올렸을때도 여럿조언많이해주셨는데요..
다실패했습니다.. 이미지 줄이는거 이거 노가다로 만든페이라 한계가있구요..
현재 head.php의 일부분입니다.
부탁드릴게요..
----------------------------------------------------------------
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>::: 포인트존 홈페이지에 오신 것을 환영합니다. :::</title>
<style type="text/css">
A:link { COLOR: #666666; FONT-SIZE: 9pt; TEXT-DECORATION: none}
A:active { COLOR: #666666; FONT-SIZE: 9pt; TEXT-DECORATION: none}
A:visited { COLOR: #666666; FONT-SIZE: 9pt; TEXT-DECORATION: none}
A:hover { COLOR: black; FONT-SIZE: 9pt}
TD { COLOR: #666666; FONT-FAMILY: 굴림; FONT-SIZE: 9pt}
<!--
body {
background-image: url(images/bg3.jpg);
background-repeat: repeat-x;
margin-left: 10px;
margin-top: 50px;
background-color: #FFFFFF;
}
.style1 {color: #FFFFFF}
-->
</style>
<script type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<script language="JavaScript">
<!--
function calcHeight()
{
//find the height of the internal page
var the_height=
document.getElementById('the_iframe').contentWindow.
document.body.scrollHeight;
//change the height of the iframe
document.getElementById('the_iframe').height=
the_height;
}
//-->
</script>
</head>
<body onload="MM_preloadImages('images/topxx_02.gif','images/topxx_04.gif','images/topxx_06.gif','images/topxx_08.gif','images/topxx_10.gif','images/topxx_12.gif','images/topxx_14.gif','images/2222.jpg','images/top_02x.gif')">
<table width="1018" border="0" cellspacing="0" cellpadding="0">
댓글 전체
도움이 될런지는 모르겠지만 body 스타일에 overflow-x:hidden; 을 줘보세요.
예 : <body style="overflow-x:hidden;"> ~~~~~~~ </body>
예 : <body style="overflow-x:hidden;"> ~~~~~~~ </body>
앵무나라님과 동일
<body onload="MM_preloadImages('images/topxx_02.gif','images/topxx_04.gif','images/topxx_06.gif','images/topxx_08.gif','images/topxx_10.gif','images/topxx_12.gif','images/topxx_14.gif','images/2222.jpg','images/top_02x.gif')" style="overflow-x:hidden;">
<table width="1018" border="0" cellspacing="0" cellpadding="0">
그래도 안되면 width =1018 ==> 1002 변경
1
<body onload="MM_preloadImages('images/topxx_02.gif','images/topxx_04.gif','images/topxx_06.gif','images/topxx_08.gif','images/topxx_10.gif','images/topxx_12.gif','images/topxx_14.gif','images/2222.jpg','images/top_02x.gif')" style="overflow-x:hidden;">
<table width="1018" border="0" cellspacing="0" cellpadding="0">
그래도 안되면 width =1018 ==> 1002 변경
1