묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
노프레임 홈에서 테이블 깨질때.
2003.07.21 10:19
안녕하세요..
첨으로 제로보드로 홈피를 만들어 보는데요..
다른건 다 한번에 성공했습니다만...
이상하게 자료실 스킨이 그런건지 제가 멀 잘못한건지..
http://whknhouse.com/bbs/zboard.php?id=pds
여기가 테이블 깨지는 곳인데요..
저는 처음에 헤더와 풋터가 잘못됐나보다 하고 몇번이나 수정해보았는데
거기서 틀린거는 없는거 같아요.. 다른 게시판들은 다 잘 되거든요..
스킨 문제인가 보다 하고 자료실 스킨만 3개를 바꿨는데
스킨을 바꿔도 아래 카피라이터 부분이 왼쪽으로 쏠리고 테이블 깨지는건
바뀌지 않더군요 ㅠ.ㅠ
게시판 설정에서 카테고리도 없애보고 크기도 줄였다 늘였다 해보고
이것저것 다 만져 보았지만 ㅠ.ㅠ
어떻게 해야 할지좀 도와주세요..
이거만 하면 다 완성되는데 ㅠ.ㅠ
참고로 헤더와 풋터 파일 올립니다..
참.. 그리고 이렇게 메인에서만 깨지고 글쓰기를 하면 테이블이 정상으로
돌아옵니다.. 이럴수도 있는건가요??
먼저 헤더
<?
$_zb_url = "http://whknhouse.com/bbs/";
$_zb_path = "/home/whkn/bbs/";
include $_zb_path."outlogin.php";
?>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>ABOUT</title>
<style>
@font-face {font-family:ƼƼü;src:url(http://whknhouse.com/TTche.eot);}
BODY,TD,SELECT,input,DIV,form,TEXTAREA,center,option,pre,blockquote{font-size:9pt; font-family:ƼƼü;color:#444444;line-height:150%}
A:link {font-family:ƼƼü;font-size:9pt;color:#444444;text-decoration:none;}
A:visited {font-family:ƼƼü;font-size:9pt;color:#444444;text-decoration:none;}
A:active {font-family:ƼƼü;font-size:9pt;color:#444444;text-decoration:none;}
A:hover {font-family:ƼƼü;font-size:9pt;color:#7A7A7A;text-decoration:none;}
</style>
<meta name="generator" content="Namo WebEditor v5.0">
<script language="JavaScript">
<!--
function na_restore_img_src(name, nsdoc)
{
var img = eval((navigator.appName.indexOf('Netscape', 0) != -1) ? nsdoc+'.'+name : 'document.all.'+name);
if (name == '')
return;
if (img && img.altsrc) {
img.src = img.altsrc;
img.altsrc = null;
}
}
function na_preload_img()
{
var img_list = na_preload_img.arguments;
if (document.preloadlist == null)
document.preloadlist = new Array();
var top = document.preloadlist.length;
for (var i=0; i < img_list.length; i++) {
document.preloadlist[top+i] = new Image;
document.preloadlist[top+i].src = img_list[i+1];
}
}
function na_change_img_src(name, nsdoc, rpath, preload)
{
var img = eval((navigator.appName.indexOf('Netscape', 0) != -1) ? nsdoc+'.'+ '+ '+name : 'document.all.'+name);
if (name == '')
return;
if (img) {
img.altsrc = img.src;
img.src = rpath;
}
}
// -->
</script>
</head>
<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red" leftmargin="0" marginwidth="0" topmargin="0" marginheight="0" OnLoad="na_preload_img(false, 'images/mainov.gif', 'images/aboutov.gif', 'images/boardov.gif', 'images/photoov.gif', 'images/downov.gif', 'images/guestov.gif');">
<table align="center" cellpadding="0" cellspacing="0" width="780">
<tr>
<td width="303">
<p><img src="images/logo.gif" width="300" height="50" border="0"></p>
</td>
<td width="477" colspan="7">
<p> </p>
</td>
</tr>
<tr>
<td width="780" colspan="8" style="border-width:1px; border-color:rgb(204,204,204); border-style:solid;">
<p><img src="images/download.gif" width="780" height="150" border="0"></p>
</td>
</tr>
<tr>
<td width="420" colspan="2" style="border-top-width:0px; border-right-width:1px; border-bottom-width:1px; border-left-width:1px; border-color:rgb(204,204,204); border-top-style:none; border-right-style:none; border-bottom-style:solid; border-left-style:solid;">
<p> </p>
</td>
<td width="60" style="border-top-width:0px; border-right-width:0px; border-bottom-width:1px; border-left-width:0px; border-color:rgb(204,204,204); border-top-style:none; border-right-style:none; border-bottom-style:solid; border-left-style:none;">
<p><a href="http://whknhouse.com/main.htm" OnMouseOut="na_restore_img_src('image1', 'document')" OnMouseOver="na_change_img_src('image1', 'document', 'images/mainov.gif', true);" target="_parent"><img src="images/main-1.gif" width="60" height="25" border="0" name="image1"></a></p>
</td>
<td width="60" style="border-top-width:0px; border-right-width:0px; border-bottom-width:1px; border-left-width:0px; border-color:rgb(204,204,204); border-top-style:none; border-right-style:none; border-bottom-style:solid; border-left-style:none;">
<p><a href="http://whknhouse.com/about.htm" OnMouseOut="na_restore_img_src('image2', 'document')" OnMouseOver="na_change_img_src('image2', 'document', 'images/aboutov.gif', true);" target="_parent"><img src="images/about-1.gif" width="60" height="25" border="0" name="image2"></a></p>
</td>
<td width="60" style="border-top-width:0px; border-right-width:0px; border-bottom-width:1px; border-left-width:0px; border-color:rgb(204,204,204); border-top-style:none; border-right-style:none; border-bottom-style:solid; border-left-style:none;">
<p><a href="http://whknhouse.com/bbs/zboard.php?id=free" OnMouseOut="na_restore_img_src('image3', 'document')" OnMouseOver="na_change_img_src('image3', 'document', 'images/boardov.gif', true);" target="_parent"><img src="images/board-1.gif" width="60" height="25" border="0" name="image3"></a></p>
</td>
<td width="60" style="border-top-width:0px; border-right-width:0px; border-bottom-width:1px; border-left-width:0px; border-color:rgb(204,204,204); border-top-style:none; border-right-style:none; border-bottom-style:solid; border-left-style:none;">
<p><a href="http://whknhouse.com/bbs/zboard.php?id=photo" OnMouseOut="na_restore_img_src('image4', 'document')" OnMouseOver="na_change_img_src('image4', 'document', 'images/photoov.gif', true);" target="_parent"><img src="images/photo-1.gif" width="60" height="25" border="0" name="image4"></a></p>
</td>
<td width="60" style="border-top-width:0px; border-right-width:0px; border-bottom-width:1px; border-left-width:0px; border-color:rgb(204,204,204); border-top-style:none; border-right-style:none; border-bottom-style:solid; border-left-style:none;">
<p><a href="http://whknhouse.com/bbs/zboard.php?id=pds" OnMouseOut="na_restore_img_src('image5', 'document')" OnMouseOver="na_change_img_src('image5', 'document', 'images/downov.gif', true);" target="_parent"><img src="images/down-1.gif" width="60" height="25" border="0" name="image5"></a></p>
</td>
<td width="60" style="border-top-width:0px; border-right-width:1px; border-bottom-width:1px; border-left-width:1px; border-color:rgb(204,204,204); border-top-style:none; border-right-style:solid; border-bottom-style:solid; border-left-style:none;">
<p><a href="http://whknhouse.com/bbs/zboard.php?id=guest" OnMouseOut="na_restore_img_src('image6', 'document')" OnMouseOver="na_change_img_src('image6', 'document', 'images/guestov.gif', true);" target="_parent"><img src="images/guest-1.gif" width="60" height="25" border="0" name="image6"></a></p>
</td>
</tr>
<tr>
<td width="780" colspan="8" style="border-width:1px; border-color:rgb(204,204,204); border-top-style:none; border-right-style:solid; border-bottom-style:none; border-left-style:solid;">
<table align="center" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="160" style="border-right-width:1px; border-right-color:rgb(204,204,204); border-right-style:solid;" valign="top">
<table align="center" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="160" align="center" valign="top" height="135">
<table align="center" cellpadding="0" cellspacing="0" width="75%">
<tr>
<td width="149" height="30" align="left" style="border-bottom-width:1px; border-bottom-color:rgb(0,153,255); border-bottom-style:dotted;">
<p> <img src="images/icon1.gif" width="9" height="9" border="0"><b><font color="#0066FF"> DOWNLOAD</font></b></p>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td width="618" align="center" valign="top">
<p>
그리고 풋터
</p>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="780" colspan="8" style="border-width:1; border-color:rgb(204,204,204); border-top-style:none; border-right-style:solid; border-bottom-style:none; border-left-style:solid;">
<p><img src="images/copyright2.gif" width="780" height="50" border="0"></p>
</td>
</tr>
</table>
</body>
</html>
감사 합니다..
첨으로 제로보드로 홈피를 만들어 보는데요..
다른건 다 한번에 성공했습니다만...
이상하게 자료실 스킨이 그런건지 제가 멀 잘못한건지..
http://whknhouse.com/bbs/zboard.php?id=pds
여기가 테이블 깨지는 곳인데요..
저는 처음에 헤더와 풋터가 잘못됐나보다 하고 몇번이나 수정해보았는데
거기서 틀린거는 없는거 같아요.. 다른 게시판들은 다 잘 되거든요..
스킨 문제인가 보다 하고 자료실 스킨만 3개를 바꿨는데
스킨을 바꿔도 아래 카피라이터 부분이 왼쪽으로 쏠리고 테이블 깨지는건
바뀌지 않더군요 ㅠ.ㅠ
게시판 설정에서 카테고리도 없애보고 크기도 줄였다 늘였다 해보고
이것저것 다 만져 보았지만 ㅠ.ㅠ
어떻게 해야 할지좀 도와주세요..
이거만 하면 다 완성되는데 ㅠ.ㅠ
참고로 헤더와 풋터 파일 올립니다..
참.. 그리고 이렇게 메인에서만 깨지고 글쓰기를 하면 테이블이 정상으로
돌아옵니다.. 이럴수도 있는건가요??
먼저 헤더
<?
$_zb_url = "http://whknhouse.com/bbs/";
$_zb_path = "/home/whkn/bbs/";
include $_zb_path."outlogin.php";
?>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>ABOUT</title>
<style>
@font-face {font-family:ƼƼü;src:url(http://whknhouse.com/TTche.eot);}
BODY,TD,SELECT,input,DIV,form,TEXTAREA,center,option,pre,blockquote{font-size:9pt; font-family:ƼƼü;color:#444444;line-height:150%}
A:link {font-family:ƼƼü;font-size:9pt;color:#444444;text-decoration:none;}
A:visited {font-family:ƼƼü;font-size:9pt;color:#444444;text-decoration:none;}
A:active {font-family:ƼƼü;font-size:9pt;color:#444444;text-decoration:none;}
A:hover {font-family:ƼƼü;font-size:9pt;color:#7A7A7A;text-decoration:none;}
</style>
<meta name="generator" content="Namo WebEditor v5.0">
<script language="JavaScript">
<!--
function na_restore_img_src(name, nsdoc)
{
var img = eval((navigator.appName.indexOf('Netscape', 0) != -1) ? nsdoc+'.'+name : 'document.all.'+name);
if (name == '')
return;
if (img && img.altsrc) {
img.src = img.altsrc;
img.altsrc = null;
}
}
function na_preload_img()
{
var img_list = na_preload_img.arguments;
if (document.preloadlist == null)
document.preloadlist = new Array();
var top = document.preloadlist.length;
for (var i=0; i < img_list.length; i++) {
document.preloadlist[top+i] = new Image;
document.preloadlist[top+i].src = img_list[i+1];
}
}
function na_change_img_src(name, nsdoc, rpath, preload)
{
var img = eval((navigator.appName.indexOf('Netscape', 0) != -1) ? nsdoc+'.'+ '+ '+name : 'document.all.'+name);
if (name == '')
return;
if (img) {
img.altsrc = img.src;
img.src = rpath;
}
}
// -->
</script>
</head>
<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red" leftmargin="0" marginwidth="0" topmargin="0" marginheight="0" OnLoad="na_preload_img(false, 'images/mainov.gif', 'images/aboutov.gif', 'images/boardov.gif', 'images/photoov.gif', 'images/downov.gif', 'images/guestov.gif');">
<table align="center" cellpadding="0" cellspacing="0" width="780">
<tr>
<td width="303">
<p><img src="images/logo.gif" width="300" height="50" border="0"></p>
</td>
<td width="477" colspan="7">
<p> </p>
</td>
</tr>
<tr>
<td width="780" colspan="8" style="border-width:1px; border-color:rgb(204,204,204); border-style:solid;">
<p><img src="images/download.gif" width="780" height="150" border="0"></p>
</td>
</tr>
<tr>
<td width="420" colspan="2" style="border-top-width:0px; border-right-width:1px; border-bottom-width:1px; border-left-width:1px; border-color:rgb(204,204,204); border-top-style:none; border-right-style:none; border-bottom-style:solid; border-left-style:solid;">
<p> </p>
</td>
<td width="60" style="border-top-width:0px; border-right-width:0px; border-bottom-width:1px; border-left-width:0px; border-color:rgb(204,204,204); border-top-style:none; border-right-style:none; border-bottom-style:solid; border-left-style:none;">
<p><a href="http://whknhouse.com/main.htm" OnMouseOut="na_restore_img_src('image1', 'document')" OnMouseOver="na_change_img_src('image1', 'document', 'images/mainov.gif', true);" target="_parent"><img src="images/main-1.gif" width="60" height="25" border="0" name="image1"></a></p>
</td>
<td width="60" style="border-top-width:0px; border-right-width:0px; border-bottom-width:1px; border-left-width:0px; border-color:rgb(204,204,204); border-top-style:none; border-right-style:none; border-bottom-style:solid; border-left-style:none;">
<p><a href="http://whknhouse.com/about.htm" OnMouseOut="na_restore_img_src('image2', 'document')" OnMouseOver="na_change_img_src('image2', 'document', 'images/aboutov.gif', true);" target="_parent"><img src="images/about-1.gif" width="60" height="25" border="0" name="image2"></a></p>
</td>
<td width="60" style="border-top-width:0px; border-right-width:0px; border-bottom-width:1px; border-left-width:0px; border-color:rgb(204,204,204); border-top-style:none; border-right-style:none; border-bottom-style:solid; border-left-style:none;">
<p><a href="http://whknhouse.com/bbs/zboard.php?id=free" OnMouseOut="na_restore_img_src('image3', 'document')" OnMouseOver="na_change_img_src('image3', 'document', 'images/boardov.gif', true);" target="_parent"><img src="images/board-1.gif" width="60" height="25" border="0" name="image3"></a></p>
</td>
<td width="60" style="border-top-width:0px; border-right-width:0px; border-bottom-width:1px; border-left-width:0px; border-color:rgb(204,204,204); border-top-style:none; border-right-style:none; border-bottom-style:solid; border-left-style:none;">
<p><a href="http://whknhouse.com/bbs/zboard.php?id=photo" OnMouseOut="na_restore_img_src('image4', 'document')" OnMouseOver="na_change_img_src('image4', 'document', 'images/photoov.gif', true);" target="_parent"><img src="images/photo-1.gif" width="60" height="25" border="0" name="image4"></a></p>
</td>
<td width="60" style="border-top-width:0px; border-right-width:0px; border-bottom-width:1px; border-left-width:0px; border-color:rgb(204,204,204); border-top-style:none; border-right-style:none; border-bottom-style:solid; border-left-style:none;">
<p><a href="http://whknhouse.com/bbs/zboard.php?id=pds" OnMouseOut="na_restore_img_src('image5', 'document')" OnMouseOver="na_change_img_src('image5', 'document', 'images/downov.gif', true);" target="_parent"><img src="images/down-1.gif" width="60" height="25" border="0" name="image5"></a></p>
</td>
<td width="60" style="border-top-width:0px; border-right-width:1px; border-bottom-width:1px; border-left-width:1px; border-color:rgb(204,204,204); border-top-style:none; border-right-style:solid; border-bottom-style:solid; border-left-style:none;">
<p><a href="http://whknhouse.com/bbs/zboard.php?id=guest" OnMouseOut="na_restore_img_src('image6', 'document')" OnMouseOver="na_change_img_src('image6', 'document', 'images/guestov.gif', true);" target="_parent"><img src="images/guest-1.gif" width="60" height="25" border="0" name="image6"></a></p>
</td>
</tr>
<tr>
<td width="780" colspan="8" style="border-width:1px; border-color:rgb(204,204,204); border-top-style:none; border-right-style:solid; border-bottom-style:none; border-left-style:solid;">
<table align="center" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="160" style="border-right-width:1px; border-right-color:rgb(204,204,204); border-right-style:solid;" valign="top">
<table align="center" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="160" align="center" valign="top" height="135">
<table align="center" cellpadding="0" cellspacing="0" width="75%">
<tr>
<td width="149" height="30" align="left" style="border-bottom-width:1px; border-bottom-color:rgb(0,153,255); border-bottom-style:dotted;">
<p> <img src="images/icon1.gif" width="9" height="9" border="0"><b><font color="#0066FF"> DOWNLOAD</font></b></p>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td width="618" align="center" valign="top">
<p>
그리고 풋터
</p>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="780" colspan="8" style="border-width:1; border-color:rgb(204,204,204); border-top-style:none; border-right-style:solid; border-bottom-style:none; border-left-style:solid;">
<p><img src="images/copyright2.gif" width="780" height="50" border="0"></p>
</td>
</tr>
</table>
</body>
</html>
감사 합니다..
댓글 2
-
거금도
2003.07.21 11:25
-
장진호
2003.07.21 11:45
허어어어억~~~
거금도님 감사합니다..
말씀대로 하나 삭제하니깐 말끔히 해결되는군요.. ㅠ.ㅠ
정말 감사합니다~~
스킨의 list_foot.php에서 </td></tr></table>을 하나만 삭제해보세요.
<!-- 페이지 출력 ---------------------->
<tr>
<td align=center colspan=2>
</td>
</tr>
</form>
</table>
</td></tr></table>
</td></tr></table> ☜ 요거 하나만 삭제해보세요..