background 컬러 적용 문제 질문 드립니다. 정보
background 컬러 적용 문제 질문 드립니다.본문
안녕하세요 백그라운드 컬러가 적용 안되 질문드립니다 옅은 하늘색 계열인
<bgcolor="#d9f0ff">으로 하려는데 F5누르면 잠시 적용됬다 풀리네요 해결 방법이 있을지요?
그누보드4 기본 사용중이고 그누기반 스킬 빌더사용 안하며 직접 코딩중인데 이런 문제가 있네요
타겟 : http://yang6393.cafe24.com/index.php
===========================================================================================
head문서
<?
if (!defined("_GNUBOARD_")) exit; // ?띠룇裕?????? ?????
include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/outlogin.lib.php");
include_once("$g4[path]/lib/poll.lib.php");
include_once("$g4[path]/lib/visit.lib.php");
include_once("$g4[path]/lib/connect.lib.php");
include_once("$g4[path]/lib/popular.lib.php");
//print_r2(get_defined_constants());
// ?????嶺??????レ뒩????????????????
// ??? ??レ뒩???嶺?????嶺?????????????
$table_width = 950;
?>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="MM_preloadImages('images/banner_last.jpg')" align="center" bgcolor="#d9f0ff">
<style type="text/css">
<!--
#floater {position:absolute; visibility:visible;}
-->
</style>
<style type="text/css">
body{background-:url(./images/bg-img.gif);}
#sddm
{
margin: 0;
padding: 0 0 0 0;
z-index: 100;
left: 20px;
top: 17px;
}
#sddm li
{ margin: 0 0 0 0;
padding: 0;
list-style: none;
float: left;
font: bold 12px arial;
width:140;
}
#sddm li a
{ display: block;
margin: 0 0 0 0;
padding: 0 0 ;
width: 143;
height: 50px;
background:#c0c0c0;
color: gray;
text-align: center;
text-decoration: none;}
#sddm li a:hover
{ background:lightblue;
}
#sddm div
{ position: absolute;
visibility: hidden;
margin: 0;
padding: 0;
background-color:#f1f1ec;filter:alpha(opacity=70);opacity:0.7;-moz-opacity:0.7;
position: absolute;
}
#sddm div a
{ position: relative;
display: 1;
margin: 0 10 0 0 ;
padding: 18 45 10 40 ;
width: 135;
white-space: nowrap;
text-align: center;
text-decoration: none;
background: #efefef;
color: #gray;
font: 12px arial;}
#sddm div a:hover
{ background: lightgray;
color: #000;}
width:138;
#m1
{
padding: 12px 100px 0px 0px;width:138;
}
#m2
{
padding: 0px 100px 0px 0px;width:138;
}
#m3
{
padding: 0px 100px 0px 0px;width:138;
}
#m4
{
padding: 0px 100px 0px 0px;width:138;
}
#m5
{
padding: 0px 100px 0px 0px;width:138;
}
#m6
{
padding: 0px 100px 0px 0px;width:138;
}
</style>
<div style="margin-left:800px">
<td width="78"><a href="<?=$g4['path']?>/"><img src="<?=$g4['path']?>/img/top_m01.gif" width="78" height="31" border="0"></a></td>
<? if (!$member['mb_id']) { ?>
<!-- -->
<td width="78"><a href="<?=$g4['bbs_path']?>/login.php?url=<?=$urlencode?>"><img src="<?=$g4['path']?>/img/top_m02.gif" width="78" height="31" border="0"></a></td>
<td width="78"><a href="<?=$g4['bbs_path']?>/register.php"><img src="<?=$g4['path']?>/img/top_m03.gif" width="78" height="31" border="0"></a></td>
<? } else { ?>
<!---->
<td width="78"><a href="<?=$g4['bbs_path']?>/logout.php"><img src="<?=$g4['path']?>/img/top_m04.gif" width="78" height="31" border="0"></a></td>
<td width="78"><a href="<?=$g4['bbs_path']?>/member_confirm.php?url=register_form.php"><img src="<?=$g4['path']?>/img/top_m05.gif" width="78" height="31" border="0"></a></td>
<? } ?>
</div>
<script language="JavaScript">
<!--
self.onError=null;
currentX = currentY = 0;
whichIt = null;
lastScrollX = 0; lastScrollY = 0;
NS = (document.layers) ? 1 : 0;
IE = (document.all) ? 1: 0;
<!-- STALKER CODE -->
function heartBeat() {
if(IE) {
diffY = document.body.scrollTop;
diffX = 0;
}
if(NS) { diffY = self.pageYOffset; diffX = self.pageXOffset; }
if(diffY != lastScrollY) {
percent = .1 * (diffY - lastScrollY);
if(percent > 0) percent = Math.ceil(percent);
else percent = Math.floor(percent);
if(IE) document.all.floater.style.pixelTop += percent;
if(NS) document.floater.top += percent;
lastScrollY = lastScrollY + percent;
}
if(diffX != lastScrollX) {
percent = .1 * (diffX - lastScrollX);
if(percent > 0) percent = Math.ceil(percent);
else percent = Math.floor(percent);
if(IE) document.all.floater.style.pixelLeft += percent;
if(NS) document.floater.top += percent;
lastScrollY = lastScrollY + percent;
}
}
if(NS || IE) action = window.setInterval("heartBeat()",1);
//-->
</script>
<!-- Save for Web Slices (jirisan_haru.psd) -->
<table width="950" height="511" border="0" align="center" cellpadding="0" cellspacing="0" id="__01">
<tr>
<td width="36" rowspan="3">
<img src="/images/jirisan_haru_01.gif" width="36" height="141" alt=""></td>
<td height="14" colspan="2">
<img src="/images/jirisan_haru_02.gif" width="870" height="14" alt=""></td>
<td width="44" rowspan="3">
<img src="/images/jirisan_haru_03.gif" width="44" height="141" alt=""></td>
</tr>
<tr>
<td width="796" height="89">
<a href="http://yang6393.cafe24.com/index.php"><img src="/images/jirisan_haru_04.gif" width="159" height="89" alt="" border="0"></a></td>
<td width="74">
<embed src="/images/ja.swf" width="711" height="89" alt=""></td>
</tr>
<tr>
<td height="38" colspan="2">
<img src="/images/jirisan_haru_06.gif" width="870" height="38" alt=""></td>
</tr>
<div id="back"><tr>
<td height="250">
<img src="/images/jirisan_haru_07.gif" width="36" height="250" alt=""></td>
<td colspan="2" background="/images/pension.jpg">
<!-- dd menu -->
</head>
<table width="867" height="82" border="0" cellpadding="0" cellspacing="0" bordercolor="#bfcc40">
<tr>
<td height="50px" colspan="8" valign="top">
<div id="floater" style="valign:center;top:150; width:868; height:50; z-index:10">
<ul id="sddm" >
<li><a href="#" onmouseover="mopen('m1')" onmouseout="mclosetime()"><br/>
소개</a>
<div id="m1" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">
<a href="http://www.naver.com">소개</a>
<a href="#">인사말</a>
<a href="#">시설현황</a>
<a href="#">오시는길</a>
</div>
</li>
<li><a href="#" onmouseover="mopen('m2')" onmouseout="mclosetime()"><br/>
캠핑장소개</a>
<div id="m2" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">
<a href="#">캠핑장소개</a>
<a href="#">캠핑장예약</a>
</div>
</li>
<li><a href="#" onmouseover="mopen('m3')" onmouseout="mclosetime()"><br/>
펜션소개</a>
<div id="m3" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">
<a href="#">펜션소개</a>
<a href="#">펜션예약</a>
</div>
</li>
<li><a href="#" onmouseover="mopen('m4')" onmouseout="mclosetime()"><br/>
게시판</a>
<div id="m4" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">
<a href="#">자유게시판</a>
<a href="#">후기게시판</a>
</div>
</li>
<li><a href="#" onmouseover="mopen('m5')" onmouseout="mclosetime()"><br/>
질문답변</a>
</li>
<li><a href="#" onmouseover="mopen('m6')" onmouseout="mclosetime()"><br/>
이벤트</a>
</li>
</ul>
</div>
</table>
</td>
<td> <img src="/images/jirisan_haru_09.gif" width="44" height="250" alt=""></td>
</tr></div>
<tr>
<td colspan="4">
<img src="/images/pension_head_txt.jpg" width="950" height="120" alt=""></td>
</tr>
</table>
<script language="JavaScript" 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];}
}
var timeout=500;
var closetimer=0;
var ddmenuitem=0;
// open hidden layer
function mopen(id)
{
// cancel close timer
mcancelclosetime();
// close old layer
if(ddmenuitem) ddmenuitem.style.visibility = 'hidden';
// get new layer and show it
ddmenuitem = document.getElementById(id);
ddmenuitem.style.visibility = 'visible';
}
// close showed layer
function mclose()
{
if(ddmenuitem) ddmenuitem.style.visibility = 'hidden';
}
// go close timer
function mclosetime()
{
closetimer = window.setTimeout(mclose, timeout);
}
// cancel close timer
function mcancelclosetime()
{
if(closetimer)
{
window.clearTimeout(closetimer);
closetimer = null;
}
}
// close layer when click-out
document.onclick = mclose;
// -->
</script>
</body>
==============================================================================================
tail문서
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
// 사용자 화면 우측과 하단을 담당하는 페이지입니다.
// 우측, 하단 화면을 꾸미려면 이 파일을 수정합니다.
?>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" bgcolor="#d9f0ff">
<link href="themes/1/js-image-slider.css" rel="stylesheet" type="text/css" />
<script src="themes/1/js-image-slider.js" type="text/javascript"></script>
<link href="generic.css" rel="stylesheet" type="text/css" />
<table width="950" height="509" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td>
<img src="/images/jirisan_haru_11.gif" width="36" height="270" alt=""></td>
<td colspan="2"><table width="870" height="270" border="0">
<tr>
<td bgcolor="b8d98f"><table width="864" height="264" border="0">
<tr bgcolor="eeffd8">
<td width="858" colspan="3"><table width="858" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="291"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image21','','/images/banner_last.jpg',1)"><img src="/images/banner.jpg" name="Image21" width="291" height="252" border="0"></a></td>
<td width="10" bgcolor="d3edfa"></td>
<td width="553" bgcolor="d3edfa"><table width="475" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td align="left"><div id="sliderFrame">
<div id="ribbon"></div>
<div id="slider">
<a href="http://yang6393.cafe24.com/index.php">
<img src="images/pen_01.jpg" alt="지리산의하루 팬션전경" />
</a>
<img src="images/pen_02.jpg" alt="지리산의하루 팬션내부" />
<img src="images/pen_03.jpg" alt="지리산의하루 팬션외관" />
<img src="images/pen_04.jpg" alt="지리산의하루 시냇가" />
<img src="images/pen_05.jpg" alt="지리산의하루 길가"/>
</div>
</div></td>
</tr>
</table><!--슬라이더 킅-->
<!--슬라이더 투입구-->
</td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
<td>
<img src="/images/jirisan_haru_13.gif" width="44" height="270" alt=""></td>
</tr>
<tr>
<td colspan="4">
<img src="/images/jirisan_haru_14.gif" width="950" height="21" alt=""></td>
</tr>
<tr>
<td>
<img src="/images/jirisan_haru_15.gif" width="36" height="90" alt=""></td>
<td colspan="2">
<img src="/images/jirisan_haru_16.jpg" width="870" height="90" alt=""></td>
<td>
<img src="/images/jirisan_haru_17.gif" width="44" height="90" alt=""></td>
</tr>
<tr>
<td colspan="4">
<img src="/images/jirisan_haru_18.gif" width="950" height="19" alt=""></td>
</tr>
<tr>
<td>
<img src="/images/jirisan_haru_19.gif" width="36" height="89" alt=""></td>
<td>
<img src="/images/jirisan_haru_20.gif" width="159" height="89" alt=""></td>
<td>
<img src="/images/copy.jpg" width="711" height="89" alt=""></td>
<td>
<img src="/images/jirisan_haru_22.gif" width="44" height="89" alt=""></td>
</tr>
<tr>
<td colspan="4">
<img src="/images/jirisan_haru_23.gif" width="950" height="20" alt=""></td>
</tr>
</table>
</body>
<!-- End Save for Web Slices -->
<!-- End Save for Web Slices -->
<!--</td>
<td width=40></td>
</tr></table>
<!-- 카피라이트 시작
<table width="<?=$table_width?>" border="0" cellspacing="10" cellpadding="10">
<tr>
<td valign="top" background="<?=$g4['path']?>/img/copyright.gif"><a href="#g4_head"><img src="<?=$g4['path']?>/img/icon.gif" width="15" height="12" border="0"></a><font color="#848484">Copyright ⓒ 지리산의하루. All rights reserved.</font></td>
</tr>
</table>
카피라이트 끝 -->
<?
include_once("./tail.sub.php");
?>
======================================================================================
입니다. <body>범위 적용 관련 인 듯 한데 헤드와 테일이 같이 묶이므로 바디테그를 하나
씩만 써보기도 하고 바디를 헤드 테일 구분해서 써 보기도 하고 다 해봐도 잘 안되네요
감사합니다 좋은 하루되세요
<bgcolor="#d9f0ff">으로 하려는데 F5누르면 잠시 적용됬다 풀리네요 해결 방법이 있을지요?
그누보드4 기본 사용중이고 그누기반 스킬 빌더사용 안하며 직접 코딩중인데 이런 문제가 있네요
타겟 : http://yang6393.cafe24.com/index.php
===========================================================================================
head문서
<?
if (!defined("_GNUBOARD_")) exit; // ?띠룇裕?????? ?????
include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/outlogin.lib.php");
include_once("$g4[path]/lib/poll.lib.php");
include_once("$g4[path]/lib/visit.lib.php");
include_once("$g4[path]/lib/connect.lib.php");
include_once("$g4[path]/lib/popular.lib.php");
//print_r2(get_defined_constants());
// ?????嶺??????レ뒩????????????????
// ??? ??レ뒩???嶺?????嶺?????????????
$table_width = 950;
?>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="MM_preloadImages('images/banner_last.jpg')" align="center" bgcolor="#d9f0ff">
<style type="text/css">
<!--
#floater {position:absolute; visibility:visible;}
-->
</style>
<style type="text/css">
body{background-:url(./images/bg-img.gif);}
#sddm
{
margin: 0;
padding: 0 0 0 0;
z-index: 100;
left: 20px;
top: 17px;
}
#sddm li
{ margin: 0 0 0 0;
padding: 0;
list-style: none;
float: left;
font: bold 12px arial;
width:140;
}
#sddm li a
{ display: block;
margin: 0 0 0 0;
padding: 0 0 ;
width: 143;
height: 50px;
background:#c0c0c0;
color: gray;
text-align: center;
text-decoration: none;}
#sddm li a:hover
{ background:lightblue;
}
#sddm div
{ position: absolute;
visibility: hidden;
margin: 0;
padding: 0;
background-color:#f1f1ec;filter:alpha(opacity=70);opacity:0.7;-moz-opacity:0.7;
position: absolute;
}
#sddm div a
{ position: relative;
display: 1;
margin: 0 10 0 0 ;
padding: 18 45 10 40 ;
width: 135;
white-space: nowrap;
text-align: center;
text-decoration: none;
background: #efefef;
color: #gray;
font: 12px arial;}
#sddm div a:hover
{ background: lightgray;
color: #000;}
width:138;
#m1
{
padding: 12px 100px 0px 0px;width:138;
}
#m2
{
padding: 0px 100px 0px 0px;width:138;
}
#m3
{
padding: 0px 100px 0px 0px;width:138;
}
#m4
{
padding: 0px 100px 0px 0px;width:138;
}
#m5
{
padding: 0px 100px 0px 0px;width:138;
}
#m6
{
padding: 0px 100px 0px 0px;width:138;
}
</style>
<div style="margin-left:800px">
<td width="78"><a href="<?=$g4['path']?>/"><img src="<?=$g4['path']?>/img/top_m01.gif" width="78" height="31" border="0"></a></td>
<? if (!$member['mb_id']) { ?>
<!-- -->
<td width="78"><a href="<?=$g4['bbs_path']?>/login.php?url=<?=$urlencode?>"><img src="<?=$g4['path']?>/img/top_m02.gif" width="78" height="31" border="0"></a></td>
<td width="78"><a href="<?=$g4['bbs_path']?>/register.php"><img src="<?=$g4['path']?>/img/top_m03.gif" width="78" height="31" border="0"></a></td>
<? } else { ?>
<!---->
<td width="78"><a href="<?=$g4['bbs_path']?>/logout.php"><img src="<?=$g4['path']?>/img/top_m04.gif" width="78" height="31" border="0"></a></td>
<td width="78"><a href="<?=$g4['bbs_path']?>/member_confirm.php?url=register_form.php"><img src="<?=$g4['path']?>/img/top_m05.gif" width="78" height="31" border="0"></a></td>
<? } ?>
</div>
<script language="JavaScript">
<!--
self.onError=null;
currentX = currentY = 0;
whichIt = null;
lastScrollX = 0; lastScrollY = 0;
NS = (document.layers) ? 1 : 0;
IE = (document.all) ? 1: 0;
<!-- STALKER CODE -->
function heartBeat() {
if(IE) {
diffY = document.body.scrollTop;
diffX = 0;
}
if(NS) { diffY = self.pageYOffset; diffX = self.pageXOffset; }
if(diffY != lastScrollY) {
percent = .1 * (diffY - lastScrollY);
if(percent > 0) percent = Math.ceil(percent);
else percent = Math.floor(percent);
if(IE) document.all.floater.style.pixelTop += percent;
if(NS) document.floater.top += percent;
lastScrollY = lastScrollY + percent;
}
if(diffX != lastScrollX) {
percent = .1 * (diffX - lastScrollX);
if(percent > 0) percent = Math.ceil(percent);
else percent = Math.floor(percent);
if(IE) document.all.floater.style.pixelLeft += percent;
if(NS) document.floater.top += percent;
lastScrollY = lastScrollY + percent;
}
}
if(NS || IE) action = window.setInterval("heartBeat()",1);
//-->
</script>
<!-- Save for Web Slices (jirisan_haru.psd) -->
<table width="950" height="511" border="0" align="center" cellpadding="0" cellspacing="0" id="__01">
<tr>
<td width="36" rowspan="3">
<img src="/images/jirisan_haru_01.gif" width="36" height="141" alt=""></td>
<td height="14" colspan="2">
<img src="/images/jirisan_haru_02.gif" width="870" height="14" alt=""></td>
<td width="44" rowspan="3">
<img src="/images/jirisan_haru_03.gif" width="44" height="141" alt=""></td>
</tr>
<tr>
<td width="796" height="89">
<a href="http://yang6393.cafe24.com/index.php"><img src="/images/jirisan_haru_04.gif" width="159" height="89" alt="" border="0"></a></td>
<td width="74">
<embed src="/images/ja.swf" width="711" height="89" alt=""></td>
</tr>
<tr>
<td height="38" colspan="2">
<img src="/images/jirisan_haru_06.gif" width="870" height="38" alt=""></td>
</tr>
<div id="back"><tr>
<td height="250">
<img src="/images/jirisan_haru_07.gif" width="36" height="250" alt=""></td>
<td colspan="2" background="/images/pension.jpg">
<!-- dd menu -->
</head>
<table width="867" height="82" border="0" cellpadding="0" cellspacing="0" bordercolor="#bfcc40">
<tr>
<td height="50px" colspan="8" valign="top">
<div id="floater" style="valign:center;top:150; width:868; height:50; z-index:10">
<ul id="sddm" >
<li><a href="#" onmouseover="mopen('m1')" onmouseout="mclosetime()"><br/>
소개</a>
<div id="m1" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">
<a href="http://www.naver.com">소개</a>
<a href="#">인사말</a>
<a href="#">시설현황</a>
<a href="#">오시는길</a>
</div>
</li>
<li><a href="#" onmouseover="mopen('m2')" onmouseout="mclosetime()"><br/>
캠핑장소개</a>
<div id="m2" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">
<a href="#">캠핑장소개</a>
<a href="#">캠핑장예약</a>
</div>
</li>
<li><a href="#" onmouseover="mopen('m3')" onmouseout="mclosetime()"><br/>
펜션소개</a>
<div id="m3" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">
<a href="#">펜션소개</a>
<a href="#">펜션예약</a>
</div>
</li>
<li><a href="#" onmouseover="mopen('m4')" onmouseout="mclosetime()"><br/>
게시판</a>
<div id="m4" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">
<a href="#">자유게시판</a>
<a href="#">후기게시판</a>
</div>
</li>
<li><a href="#" onmouseover="mopen('m5')" onmouseout="mclosetime()"><br/>
질문답변</a>
</li>
<li><a href="#" onmouseover="mopen('m6')" onmouseout="mclosetime()"><br/>
이벤트</a>
</li>
</ul>
</div>
</table>
</td>
<td> <img src="/images/jirisan_haru_09.gif" width="44" height="250" alt=""></td>
</tr></div>
<tr>
<td colspan="4">
<img src="/images/pension_head_txt.jpg" width="950" height="120" alt=""></td>
</tr>
</table>
<script language="JavaScript" 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];}
}
var timeout=500;
var closetimer=0;
var ddmenuitem=0;
// open hidden layer
function mopen(id)
{
// cancel close timer
mcancelclosetime();
// close old layer
if(ddmenuitem) ddmenuitem.style.visibility = 'hidden';
// get new layer and show it
ddmenuitem = document.getElementById(id);
ddmenuitem.style.visibility = 'visible';
}
// close showed layer
function mclose()
{
if(ddmenuitem) ddmenuitem.style.visibility = 'hidden';
}
// go close timer
function mclosetime()
{
closetimer = window.setTimeout(mclose, timeout);
}
// cancel close timer
function mcancelclosetime()
{
if(closetimer)
{
window.clearTimeout(closetimer);
closetimer = null;
}
}
// close layer when click-out
document.onclick = mclose;
// -->
</script>
</body>
==============================================================================================
tail문서
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
// 사용자 화면 우측과 하단을 담당하는 페이지입니다.
// 우측, 하단 화면을 꾸미려면 이 파일을 수정합니다.
?>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" bgcolor="#d9f0ff">
<link href="themes/1/js-image-slider.css" rel="stylesheet" type="text/css" />
<script src="themes/1/js-image-slider.js" type="text/javascript"></script>
<link href="generic.css" rel="stylesheet" type="text/css" />
<table width="950" height="509" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td>
<img src="/images/jirisan_haru_11.gif" width="36" height="270" alt=""></td>
<td colspan="2"><table width="870" height="270" border="0">
<tr>
<td bgcolor="b8d98f"><table width="864" height="264" border="0">
<tr bgcolor="eeffd8">
<td width="858" colspan="3"><table width="858" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="291"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image21','','/images/banner_last.jpg',1)"><img src="/images/banner.jpg" name="Image21" width="291" height="252" border="0"></a></td>
<td width="10" bgcolor="d3edfa"></td>
<td width="553" bgcolor="d3edfa"><table width="475" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td align="left"><div id="sliderFrame">
<div id="ribbon"></div>
<div id="slider">
<a href="http://yang6393.cafe24.com/index.php">
<img src="images/pen_01.jpg" alt="지리산의하루 팬션전경" />
</a>
<img src="images/pen_02.jpg" alt="지리산의하루 팬션내부" />
<img src="images/pen_03.jpg" alt="지리산의하루 팬션외관" />
<img src="images/pen_04.jpg" alt="지리산의하루 시냇가" />
<img src="images/pen_05.jpg" alt="지리산의하루 길가"/>
</div>
</div></td>
</tr>
</table><!--슬라이더 킅-->
<!--슬라이더 투입구-->
</td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
<td>
<img src="/images/jirisan_haru_13.gif" width="44" height="270" alt=""></td>
</tr>
<tr>
<td colspan="4">
<img src="/images/jirisan_haru_14.gif" width="950" height="21" alt=""></td>
</tr>
<tr>
<td>
<img src="/images/jirisan_haru_15.gif" width="36" height="90" alt=""></td>
<td colspan="2">
<img src="/images/jirisan_haru_16.jpg" width="870" height="90" alt=""></td>
<td>
<img src="/images/jirisan_haru_17.gif" width="44" height="90" alt=""></td>
</tr>
<tr>
<td colspan="4">
<img src="/images/jirisan_haru_18.gif" width="950" height="19" alt=""></td>
</tr>
<tr>
<td>
<img src="/images/jirisan_haru_19.gif" width="36" height="89" alt=""></td>
<td>
<img src="/images/jirisan_haru_20.gif" width="159" height="89" alt=""></td>
<td>
<img src="/images/copy.jpg" width="711" height="89" alt=""></td>
<td>
<img src="/images/jirisan_haru_22.gif" width="44" height="89" alt=""></td>
</tr>
<tr>
<td colspan="4">
<img src="/images/jirisan_haru_23.gif" width="950" height="20" alt=""></td>
</tr>
</table>
</body>
<!-- End Save for Web Slices -->
<!-- End Save for Web Slices -->
<!--</td>
<td width=40></td>
</tr></table>
<!-- 카피라이트 시작
<table width="<?=$table_width?>" border="0" cellspacing="10" cellpadding="10">
<tr>
<td valign="top" background="<?=$g4['path']?>/img/copyright.gif"><a href="#g4_head"><img src="<?=$g4['path']?>/img/icon.gif" width="15" height="12" border="0"></a><font color="#848484">Copyright ⓒ 지리산의하루. All rights reserved.</font></td>
</tr>
</table>
카피라이트 끝 -->
<?
include_once("./tail.sub.php");
?>
======================================================================================
입니다. <body>범위 적용 관련 인 듯 한데 헤드와 테일이 같이 묶이므로 바디테그를 하나
씩만 써보기도 하고 바디를 헤드 테일 구분해서 써 보기도 하고 다 해봐도 잘 안되네요
감사합니다 좋은 하루되세요
댓글 전체
스타일 바디
html 바디 부분이 중복인 듯 합니다.
html 바디 부분이 중복인 듯 합니다.