묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
[re] 소스가 부족하시다길래...
2003.04.19 18:50
<body bgcolor='#C0C0C0' text='black' vlink='black' alink='black'>
<!-- 중앙 정렬을 위한 테이블 -->
<table width='100%' height='100%'><tr><td>
<!-- 중앙 정렬된 테이블의 테두리 -->
<!-- 메인 -->
<table width='700' height='394' cellpadding='0' cellspacing='0' style=table-layout:fixed bgcolor='white' align='center' background='<?=$url?>img/bgimg.gif'>
<tr>
<td width='130' valign='top'>
<!-- 왼쪽 메뉴 테이블 -->
<table cellpadding='0' cellspacing='0'>
<tr>
<td height='30'>
</td>
</tr>
<tr>
<td>
<a href='<?=$url?>pnuts_board/board.php?id=notice'><img src='<?=$url?>img/sub_gomain.gif' width='130' height='20' border='0'></a>
</td>
</tr>
<tr>
<td>
<a href='<?=$url?>introduce.php'><img src='<?=$url?>img/sub_introduce.gif' width='130' height='20' border='0'></a>
</td>
</tr>
<tr>
<td>
<img src='<?=$url?>img/sub_dearmylife.gif' width='130' height='20'>
</td>
</tr>
<tr>
<td>
<a href='<?=$url?>pnuts_board/board.php?id=guest'><img src='<?=$url?>img/sub_yourstory.gif' width='130' height='20' border='0'></a>
</td>
</tr>
<tr>
<td>
<img src='<?=$url?>img/sub_study.gif' width='130' height='20'>
</td>
</tr>
<tr>
<td>
<img src='+ '+ '<?=$url?>img/sub_bookmark.gif' width='130' height='20'+ '>
</td>
</tr>
<tr>
<td>
<a href='<?=$url?>pnuts_board/board.php?id=useful_stuff'><img src='<?=$url?>img/sub_usefulstuff.gif' width='130' height='20' border='0'></a>
</td>
</tr>
<tr>
<td>
<img src='<?=$url?>img/sub_secretboard.gif' width='130' height='20'>
</td>
</tr>
<tr>
<td>
<img src='<?=$url?>img/sub_myportfolio.gif' width='130' height='20'>
</td>
</tr>
<tr>
<td>
<a href='" . $url . "logout.php'><img src='$url/img/sub_logout.gif' width='130' height='20' border='0'></a>
</td>
</tr>
</table>
<!-- 왼쪽 메뉴 끝 -->
</td>
<td>
<table width='62%' height='100%' cellpadding='0' cellspacing='0'><tr><td valign='top'>
<!-- 오른쪽 -->
<div id="layer2" overflow:scroll; style="width:570px; height:394px; position:absolute; z-index:2; overflow:auto;">
<table width='60%' height='100%' cellpadding='15' border=1>
<tr>
<td align='center' valign='top'>
<img src='<?=$url?>pnuts_board/skin/<?=$id?>/img/sub_<?=$id?>.gif' width='152' height='39'+ '>
<p align='right' valign='top'><a href='write.php?id=<?=$id?>'>+. 글쓰기</a></p>
<?
$query = "SELECT * FROM pnuts_" . $id . " ORDER BY `no` DESC";
$result = mysql_query($query);
while ($row = mysql_fetch_array($result)) {
$date = date("Y/m/d",$row[date]);
$row[sub] = nl2br($row[sub]);
$row[sub] = nl2br($row[sub]);
echo "<p align='right'><b><a href='" . $url . "pnuts_board/data/" . $id . "/" . $row[file] . "'> [$date] $row[title] </a></b></p>
<table width='80%' align='right' bgcolor='eeeeee' style='filter:Alpha(Opacity=45); cursor:hand;' cellpadding='10'>
<tr>
<td align='right' class='notice'>
$row[sub]
</td>
</tr>
</table>";
}
?>
</td>
</tr>
</table>
</div>
<!-- 오른쪽 끝 -->
</td></tr></table>
</td>
</tr>
</table>
<!-- 중앙 정렬을 위한 테이블 끝 -->
</td></tr></table>
여기까지 입니다.
소스가 부족하시다길래...
바르게 잡을 방법 없을까요?
도와주셔요 ㅠㅠ
<!-- 중앙 정렬을 위한 테이블 -->
<table width='100%' height='100%'><tr><td>
<!-- 중앙 정렬된 테이블의 테두리 -->
<!-- 메인 -->
<table width='700' height='394' cellpadding='0' cellspacing='0' style=table-layout:fixed bgcolor='white' align='center' background='<?=$url?>img/bgimg.gif'>
<tr>
<td width='130' valign='top'>
<!-- 왼쪽 메뉴 테이블 -->
<table cellpadding='0' cellspacing='0'>
<tr>
<td height='30'>
</td>
</tr>
<tr>
<td>
<a href='<?=$url?>pnuts_board/board.php?id=notice'><img src='<?=$url?>img/sub_gomain.gif' width='130' height='20' border='0'></a>
</td>
</tr>
<tr>
<td>
<a href='<?=$url?>introduce.php'><img src='<?=$url?>img/sub_introduce.gif' width='130' height='20' border='0'></a>
</td>
</tr>
<tr>
<td>
<img src='<?=$url?>img/sub_dearmylife.gif' width='130' height='20'>
</td>
</tr>
<tr>
<td>
<a href='<?=$url?>pnuts_board/board.php?id=guest'><img src='<?=$url?>img/sub_yourstory.gif' width='130' height='20' border='0'></a>
</td>
</tr>
<tr>
<td>
<img src='<?=$url?>img/sub_study.gif' width='130' height='20'>
</td>
</tr>
<tr>
<td>
<img src='+ '+ '<?=$url?>img/sub_bookmark.gif' width='130' height='20'+ '>
</td>
</tr>
<tr>
<td>
<a href='<?=$url?>pnuts_board/board.php?id=useful_stuff'><img src='<?=$url?>img/sub_usefulstuff.gif' width='130' height='20' border='0'></a>
</td>
</tr>
<tr>
<td>
<img src='<?=$url?>img/sub_secretboard.gif' width='130' height='20'>
</td>
</tr>
<tr>
<td>
<img src='<?=$url?>img/sub_myportfolio.gif' width='130' height='20'>
</td>
</tr>
<tr>
<td>
<a href='" . $url . "logout.php'><img src='$url/img/sub_logout.gif' width='130' height='20' border='0'></a>
</td>
</tr>
</table>
<!-- 왼쪽 메뉴 끝 -->
</td>
<td>
<table width='62%' height='100%' cellpadding='0' cellspacing='0'><tr><td valign='top'>
<!-- 오른쪽 -->
<div id="layer2" overflow:scroll; style="width:570px; height:394px; position:absolute; z-index:2; overflow:auto;">
<table width='60%' height='100%' cellpadding='15' border=1>
<tr>
<td align='center' valign='top'>
<img src='<?=$url?>pnuts_board/skin/<?=$id?>/img/sub_<?=$id?>.gif' width='152' height='39'+ '>
<p align='right' valign='top'><a href='write.php?id=<?=$id?>'>+. 글쓰기</a></p>
<?
$query = "SELECT * FROM pnuts_" . $id . " ORDER BY `no` DESC";
$result = mysql_query($query);
while ($row = mysql_fetch_array($result)) {
$date = date("Y/m/d",$row[date]);
$row[sub] = nl2br($row[sub]);
$row[sub] = nl2br($row[sub]);
echo "<p align='right'><b><a href='" . $url . "pnuts_board/data/" . $id . "/" . $row[file] . "'> [$date] $row[title] </a></b></p>
<table width='80%' align='right' bgcolor='eeeeee' style='filter:Alpha(Opacity=45); cursor:hand;' cellpadding='10'>
<tr>
<td align='right' class='notice'>
$row[sub]
</td>
</tr>
</table>";
}
?>
</td>
</tr>
</table>
</div>
<!-- 오른쪽 끝 -->
</td></tr></table>
</td>
</tr>
</table>
<!-- 중앙 정렬을 위한 테이블 끝 -->
</td></tr></table>
여기까지 입니다.
소스가 부족하시다길래...
바르게 잡을 방법 없을까요?
도와주셔요 ㅠㅠ
이부분 때문일겁니다. 가로사이즈를 570으로 맞춰놨는데 현재 프레임이 그보다 작아서 찌그러드는 현상이 발생하능는 거죠.