<div id="top"><?php include "top.html"; ?></div>
<div id="body>
<span id="left"><?php include "left.html";?></span>
<span id="contents"><?php include $_GET['page']".html";?></span>
<span id="right"><?php include "right.html";?></span>
</div>
<div id="bottom"><?php include "bottom.html";?></div>
댓글 20개
습관은 매우 고치기 어렵습니다.
조언을 한다는게 오히려 남의 생각을 배제함으로 보이는것 같습니다.
나쁜 방법을 알아둬도 괜찮다는 시각은 당연히 배제해야 합니다.
좋지 않은 방법을 반복해서 사용하고 거기에 숙달될 위험이 있거든요.
습관을 바꾸는 것은 매우 어려운 일입니다.
사상이나 취향 같은 개인적인 문제가 아니라 기술적인 문제에 대해서
무조건적인 타협을 요구할 수는 없다고 생각합니다.
기술적인 배제를 인격적인 배제로 받아들이지 않았으면 합니다.
물론 습관을 따지자는건 더더욱 아니구요.
이해하기 어렵게 댓글을 달았나 싶네요.
기술적인 배제로 조언해 주는것도 고마울 따름입니다만,
일방적으로 남의 생각을 배제함이 어찌 인격적인 배제로 볼 수 없는 부분 인가요. 적지않아 그렇게 보이는데 말이예요.
다음에 기회가 있으시다면 그때는 다소 딱딱하게 느껴지는 어투에서 조금 부드럽게 말씀해 주시면 어떨까 합니다.
우측하실부분을 테이블로 나눠주심 됩니다.
<table>
<td>
<table><td>
http://j.mp/s6HT3q
목적이 뭔지 모르겠지만 구현 할려고 하면
<html>
<head>
<title>부모 index.html 파일</title>
</head>
<frameset rows="100,*,100">
<frame src="head.html">
<frameset cols="120,*,120">
<frame src="left.html">
<frame src="main.html">
<frame src="rigth.html">
</frameset>
<frame src="tail.html">
</frameset>
</html>
이렇게 해주시면 됩니다.
tail.php 를 이용하셔서 위와같은 방법으로 하시면될것같습니다.
<table width=1000 height=700>
<tr><td colspan=3><? include "헤드.파일확장자명" ?></td><tr>
<tr>
<td><? include "좌측.파일확장자명" ?></td>
<td><? include "센터.파일확장자명" ?><td/>
<td><? include "우측.파일확장자명" ?></td>
</tr>
<tr><td colspan=3><? include "타일.파일확장자명" ?></td><tr>
</table>
그리고 헤드 좌측 우측 이렇게 되어있는부분에 include해서 사용하세요
http://j.mp/s6HT3q
head처럼 tail도 우측과 하단이 포함됩니다.
table나 div로 만들어주시면 될듯합니다만 ?^^
<tr><td colspan='3'>머리</td></tr>
<tr>
<td>좌측</td>
<td>몸통</td>
<td>우측</td>
</tr>
<tr><td colspan='3'>꼬리</td></tr>
</table>
몸통 기준으로 위 아래로 뜯으면 될것같은데요..
<div id="body>
<span id="left"><?php include "left.html";?></span>
<span id="contents"><?php include $_GET['page']".html";?></span>
<span id="right"><?php include "right.html";?></span>
</div>
<div id="bottom"><?php include "bottom.html";?></div>
이건 어떠실까요?