소스 좀 봐주세요 정보
소스 좀 봐주세요본문
오류가 나는곳의 주소를 알려주시면 더 빠르고 정확하게 답변 받을 수 있습니다.
오류 주소 : http://ec717.namoweb.net/gn/
소스 head.php
-------------------------
<?
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 = 1000;
?>
<style>
@import url("style.css");
body { overflow-x:hidden; overflow-y:auto; }
.style1 {
font-family: "굴림", "돋움", Seoul, "한강체";
font-size: 14px;
color: #000000;
}
.style2 {font-family: "굴림체", "돋움체", Seoul}
.style3 {font-size: 14px}
.style4 {color: #FFFFFF}
</style>
<TABLE width="980" cellpadding=0 cellspacing=0 border=0 align=center margin-top:0 >
<!-- 상단 배경 시작 -->
<style type="text/css">
<!--
.style2 {font-size: 12px}
.style4 {font-family: "굴림", "돋움", Seoul, "한강체"; font-size: 14px;}
-->
</style>
<td width="990" height="240" valign="top" margin-top:0; margin-right:0; margin-bottom:0%; margin-left:0;" cellspacing="0" cellpadding="0"> <script>doc_write(flash_movie('<?=$g4['path']?>/img/3050menu.swf', 'Menu260',990, 240, 'Transparent'));</script> </td>
</table>
</div>
<!-- 상단 배경 끝 -->
<!-- 검색 시작 -->
<table width='<?=$table_width?>' cellpadding=0 cellspacing=0 border=0 >
<tr>
<td width=6></td>
<!-- 왼쪽 메뉴 -->
<td width=194 valign=top>
<div align="left">
<table border="1" width="204" cellpadding="1" cellspacing="0" height="0%" bgcolor="#CCFFFF">
<tr>
<td width="370" height="162"> <p class="style2"><?=outlogin("zalhe"); // 외부 로그인 ?></p></td>
</tr>
<tr>
<td width="370" height="130" colspan="2" align="center"><?=connect("bada");?>
</tr>
</table>
</div>
<!-- 중간 -->
<td width=690 valign=top>
--------------------------------------------
위에 주소를 가보시면 플래시 위로 여백이 생기네요
인터넷 검색으로 아무리 해봐도 안되네요
한번 봐주시면 감사 하겠습니다.
오류 주소 : http://ec717.namoweb.net/gn/
소스 head.php
-------------------------
<?
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 = 1000;
?>
<style>
@import url("style.css");
body { overflow-x:hidden; overflow-y:auto; }
.style1 {
font-family: "굴림", "돋움", Seoul, "한강체";
font-size: 14px;
color: #000000;
}
.style2 {font-family: "굴림체", "돋움체", Seoul}
.style3 {font-size: 14px}
.style4 {color: #FFFFFF}
</style>
<TABLE width="980" cellpadding=0 cellspacing=0 border=0 align=center margin-top:0 >
<!-- 상단 배경 시작 -->
<style type="text/css">
<!--
.style2 {font-size: 12px}
.style4 {font-family: "굴림", "돋움", Seoul, "한강체"; font-size: 14px;}
-->
</style>
<td width="990" height="240" valign="top" margin-top:0; margin-right:0; margin-bottom:0%; margin-left:0;" cellspacing="0" cellpadding="0"> <script>doc_write(flash_movie('<?=$g4['path']?>/img/3050menu.swf', 'Menu260',990, 240, 'Transparent'));</script> </td>
</table>
</div>
<!-- 상단 배경 끝 -->
<!-- 검색 시작 -->
<table width='<?=$table_width?>' cellpadding=0 cellspacing=0 border=0 >
<tr>
<td width=6></td>
<!-- 왼쪽 메뉴 -->
<td width=194 valign=top>
<div align="left">
<table border="1" width="204" cellpadding="1" cellspacing="0" height="0%" bgcolor="#CCFFFF">
<tr>
<td width="370" height="162"> <p class="style2"><?=outlogin("zalhe"); // 외부 로그인 ?></p></td>
</tr>
<tr>
<td width="370" height="130" colspan="2" align="center"><?=connect("bada");?>
</tr>
</table>
</div>
<!-- 중간 -->
<td width=690 valign=top>
--------------------------------------------
위에 주소를 가보시면 플래시 위로 여백이 생기네요
인터넷 검색으로 아무리 해봐도 안되네요
한번 봐주시면 감사 하겠습니다.
댓글 전체
높이를 240 보다 작게 만드세요...조금씩 줄이며 테스트 해보면 딱 맞게 되는 값이 있을 것입니다
원본 플래시 높이가 240 이라면 만들 때 위, 아래에 여백을 넣어 만든 것이겠죠
원본 플래시 높이가 240 이라면 만들 때 위, 아래에 여백을 넣어 만든 것이겠죠
감사합니다.
덕분에 플래시 수정을 하니 위에 잘 붙었는데요
문제는 최신 게시글이 밑으로 달라 붙었네요
위에 다시 소슬 올렸습니다 ㅡ,.ㅡ
덕분에 플래시 수정을 하니 위에 잘 붙었는데요
문제는 최신 게시글이 밑으로 달라 붙었네요
위에 다시 소슬 올렸습니다 ㅡ,.ㅡ
html 이 깨지네요..
<td><tr> 짝이 다릅니다.
그리고 stylesheet 는 몰아서 정의하는게 좋습니다.
import 에 들어있는 것과 그 위 그 밑에 있는 것들 모두 style.css 로 몰아버리세요
style.css 안에서도 import@ 가능합니다.
그리고 테이블 구조를 바꾸세요... 레이아웃 테이블이 980 px 픽스인데
서브 테이블이 990 px 은 안되겠죠?
<td><tr> 짝이 다릅니다.
그리고 stylesheet 는 몰아서 정의하는게 좋습니다.
import 에 들어있는 것과 그 위 그 밑에 있는 것들 모두 style.css 로 몰아버리세요
style.css 안에서도 import@ 가능합니다.
그리고 테이블 구조를 바꾸세요... 레이아웃 테이블이 980 px 픽스인데
서브 테이블이 990 px 은 안되겠죠?