노프레임관련.. 정보
노프레임관련..본문
한가지 문의드립니다.
head.php(내용:메인메뉴가 들어있음)
---------------------------------------------------------------
| |
|
|메뉴
게시판
|
|
|
-----------|------------------------------------------------
| tail.php
우선 게시판부분을 기준으로 윗내용을 head.php로 저장했고
아래내용을 tail.php로 저장했습니다.
게시판내용부분은 index.php형식으로 저장했구요
게시판수정에들어가서 table를 눌러보면 잘나옵니다.
하지만 처음메인메뉴링크를 클릭하면 첨부한 이미지처럼 나오네요
(head,tail)부분은 잘나옵니다.
index.php내용은 대략
<?
include_once("./_common.php");
$g4['title'] = "(주)";
include_once("./newshead.php");
?>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td></td>
</tr>
</table>
<?
include_once("./newstail.php");
?>
위내용되롭니다.
여기에 뭔가 더넣어줘야하나요
참고로
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 = 1004;
?>
<html>
<head>
..
..
---------------------
tail.php부분은
-----------------------------
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
// 사용자 화면 우측과 하단을 담당하는 페이지입니다.
// 우측, 하단 화면을 꾸미려면 이 파일을 수정합니다.
?>
</td>
<td height="500" align="left" valign="top"></td>
<td width="1" align="left" nowrap bgcolor="#990000"></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td></td>
<td height="2" bgcolor="#CCCCCC"></td>
</tr>
<tr>.....
..................
...
..
</td>
</tr>
</table>
</body>
</html>
<?
include_once("$g4[path]/newstail.php");
?>
위와같습니다.
2틀동안 요놈때문에 문제해결을 못해
질문란에 글남깁니다.
head.php(내용:메인메뉴가 들어있음)
---------------------------------------------------------------
| |
|
|메뉴
게시판
|
|
|
-----------|------------------------------------------------
| tail.php
우선 게시판부분을 기준으로 윗내용을 head.php로 저장했고
아래내용을 tail.php로 저장했습니다.
게시판내용부분은 index.php형식으로 저장했구요
게시판수정에들어가서 table를 눌러보면 잘나옵니다.
하지만 처음메인메뉴링크를 클릭하면 첨부한 이미지처럼 나오네요
(head,tail)부분은 잘나옵니다.
index.php내용은 대략
<?
include_once("./_common.php");
$g4['title'] = "(주)";
include_once("./newshead.php");
?>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td></td>
</tr>
</table>
<?
include_once("./newstail.php");
?>
위내용되롭니다.
여기에 뭔가 더넣어줘야하나요
참고로
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 = 1004;
?>
<html>
<head>
..
..
---------------------
tail.php부분은
-----------------------------
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
// 사용자 화면 우측과 하단을 담당하는 페이지입니다.
// 우측, 하단 화면을 꾸미려면 이 파일을 수정합니다.
?>
</td>
<td height="500" align="left" valign="top"></td>
<td width="1" align="left" nowrap bgcolor="#990000"></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td></td>
<td height="2" bgcolor="#CCCCCC"></td>
</tr>
<tr>.....
..................
...
..
</td>
</tr>
</table>
</body>
</html>
<?
include_once("$g4[path]/newstail.php");
?>
위와같습니다.
2틀동안 요놈때문에 문제해결을 못해
질문란에 글남깁니다.
댓글 전체
문제가 많습니다.
저렇게 나오는 이유는 <td width="1" align="left" nowrap bgcolor="#990000"></td>
라고 가로폭을 1이라고 해줬지만 더이상 같은줄에 cell 이 없어서 자동으로 늘어난 거구요
일단 tail에서 </td>닫아준게 보이는데 이걸 열어준 곳이 안보이는군요.
헤드에서 열고 테일에서 닫아주는 구조로 해보세요.
잘모르시면 소스보기 하신 후 웹에디터로 열어서 삑사리 난곳을 확인해 보시길
저렇게 나오는 이유는 <td width="1" align="left" nowrap bgcolor="#990000"></td>
라고 가로폭을 1이라고 해줬지만 더이상 같은줄에 cell 이 없어서 자동으로 늘어난 거구요
일단 tail에서 </td>닫아준게 보이는데 이걸 열어준 곳이 안보이는군요.
헤드에서 열고 테일에서 닫아주는 구조로 해보세요.
잘모르시면 소스보기 하신 후 웹에디터로 열어서 삑사리 난곳을 확인해 보시길