묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
여기 정렬이 안되요;;;
2005.04.25 14:07
<?
$_zb_url = "http://rohanmania.mireene.com/bbs/zb/";
$_zb_path = "/web/home/rohanmania/html/bbs/zb/";
include $_zb_path."outlogin.php";
?>
<html>
<head>
<style>
BODY {
SCROLLBAR-FACE-COLOR: #DDDDDD;
SCROLLBAR-HIGHLIGHT-COLOR: #EEEEEE;
SCROLLBAR-SHADOW-COLOR: #CCCCCC;
SCROLLBAR-3DLIGHT-COLOR: #DDDDDD;
SCROLLBAR-ARROW-COLOR: #BBBBBB;
SCROLLBAR-TRACK-COLOR: #EEEEEE;
SCROLLBAR-DARKSHADOW-COLOR: #CCCCCC;
}
</style>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>:::::로한매니아:::::</title>
<meta name="generator" content="Namo WebEditor v5.0">
</head>
<body style="margin:0;" bgcolor="black" text="white" link="white" vlink="white" alink="white">
<table border="0" width="100%" height="100%" cellspacing="3" background="http://rohanmania.mireene.com/main.jpg" bordercolordark="white" bordercolorlight="black" cellpadding="0">
<tr>
<td width="999" colspan="1" height="25">
<p align="center"><!-- 이부분이 보여질 부분입니다...-->
<div id="div_id" style="width:997px; height:37px; position:absolute; left:0px; top:0px; z-index:0;">
<table border="0" height="25" width="1000">
<tr>
<td width="1000" height="25" style="margin:0;">
<a href="http://rohanmania.mireene.com/main.htm"> <img src="http://rohanmania.mireene.com/scr1.jpg" border="0" vspace="0" hspace="0"><img src="http://rohanmania.mireene.com/scr2.jpg" border="0" vspace="0" hspace="0"><img src="http://rohanmania.mireene.com/scr3.jpg" border="0" vspace="0" hspace="0"><img src="http://rohanmania.mireene.com/scr4.jpg" border="0" vspace="0" hspace="0"><img src="http://rohanmania.mireene.com/scr5.jpg" border="0" vspace="0" hspace="0"></a>
</td>
</tr>
</table>
</div><p align="center"><!-- 여기까지-->
<script type="text/javascript" language="javascript">
<!--
var scroll_pixel,div_pixel,gtpos,gbpos,loop,moving_spd;
var top_margin = 0; /// 창의 맨위와의 여백 내려올때
var top_margin2 = 25; /// 창의 맨위와의 여백 올라올때
var speed = 20; /// 점차 줄어드는 속도를 위한 설정
var speed2 = 15; /// setTimeout을 위한 속도 설정
function check_scrollmove()
{
scroll_pixel = document.body.scrollTop;
gtpos = document.body.scrollTop+top_margin;
gbpos = document.body.scrollTop+top_margin2;
if(div_id.style.pixelTop < gtpos)
{
moving_spd = (gbpos-div_id.style.pixelTop)/speed;
div_id.style.pixelTop += moving_spd;
}
if(div_id.style.pixelTop > gtpos)
{
moving_spd = (div_id.style.pixelTop-gtpos)/speed;
div_id.style.pixelTop -= moving_spd;
}
loop = setTimeout("check_scrollmove()",speed2);
}
function moving_control()
{
if(!moving_stat){ check_scrollmove(); moving_stat = 1;}
else{ clearTimeout(loop); moving_stat = 0; div_id.style.pixelTop = top_margin;}
}
check_scrollmove();
-->
</script>
</td>
<td></td>
<td></td>
</tr>
<tr>
<td bgcolor="gray" width="994" colspan="3" height="25" valign="top">
<table border="0" width="1000" height="25" bgcolor="white" align="center">
<tr>
<td height="25">
<p align="left"><? print_outlogin("login" , 1 , 10) ?>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="327" valign="top">
<p align="left"><font size="5" color="white"><span style="background-color:white;"><br></span> </font><b><font size="5" color="white">Welcome to</font></b></p>
<p align="left"><b><font size="5" color="white"> <Rohan
Mania></font></b></p>
</td>
<td width="327" valign="top">
<table border="0" cellpadding="0" cellspacing="0" width="333" height="480" align="center">
<tr>
<td height="300" align="center" valign="top" style="text-align:center;">
<p align="center"> </p>
</td>
</tr>
<tr>
<td height="230" valign="top" align="center">
<p align="center"><?print_bbs("notice", "공지사항", "notice", 5, 100, 50, 15)?></p>
</td>
</tr>
</table>
</td>
<td width="327" valign="top">
<p align="center"> </p>
</td>
</tr>
<tr>
<td width="1004" colspan="3">
<table border="0" cellpadding="0" cellspacing="0" width="1001" height="180" align="center">
<tr>
<td width="200" height="30">
<p align="center"> </p>
</td>
<td width="299" height="230" valign="top" rowspan="2" align="center">
<p align="center"><?print_bbs("bbs", "자유게시판", "freeboard", 5, 100, 50, 15)?></p>
</td>
<td width="299" height="230" valign="top" rowspan="2" align="center">
<p align="center"><?print_bbs("tip", "노하우&팁", "tips", 5, 100, 50, 15)?> </td>
<td width="203" height="30">
<p align="center"> </p>
</td>
</tr>
<tr>
<td width="200">
<p align="center"> </p>
</td>
<td width="203">
<p align="center"> </p>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="327">
<p align="center"> </p>
</td>
<td width="327">
<table border="0" cellpadding="0" cellspacing="0" width="333" height="150" align="center">
<tr>
<td height="230" valign="top" colspan="2" align="center" style="text-align:center;">
<p align="center"><?print_gallery("gallery", "gellery", "gellery", 5, 50, 50, 5)?></p>
</td>
</tr>
<tr>
<td align="right" valign="top">
<p align="center"> </p>
</td>
<td align="right" valign="top">
<p align="center"> </td>
</tr>
</table>
</td>
<td width="327">
<p align="center"> </p>
</td>
</tr>
</table>
</body>
</html>
이렇게 꾸몄는데 이상하게 공지하고 겔러리가 오른쪽으로 치우쳐요 ㅜㅜ 왜그러는지 갈켜주세요...
http://rohanmania.mireene.com/ ->
$_zb_url = "http://rohanmania.mireene.com/bbs/zb/";
$_zb_path = "/web/home/rohanmania/html/bbs/zb/";
include $_zb_path."outlogin.php";
?>
<html>
<head>
<style>
BODY {
SCROLLBAR-FACE-COLOR: #DDDDDD;
SCROLLBAR-HIGHLIGHT-COLOR: #EEEEEE;
SCROLLBAR-SHADOW-COLOR: #CCCCCC;
SCROLLBAR-3DLIGHT-COLOR: #DDDDDD;
SCROLLBAR-ARROW-COLOR: #BBBBBB;
SCROLLBAR-TRACK-COLOR: #EEEEEE;
SCROLLBAR-DARKSHADOW-COLOR: #CCCCCC;
}
</style>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>:::::로한매니아:::::</title>
<meta name="generator" content="Namo WebEditor v5.0">
</head>
<body style="margin:0;" bgcolor="black" text="white" link="white" vlink="white" alink="white">
<table border="0" width="100%" height="100%" cellspacing="3" background="http://rohanmania.mireene.com/main.jpg" bordercolordark="white" bordercolorlight="black" cellpadding="0">
<tr>
<td width="999" colspan="1" height="25">
<p align="center"><!-- 이부분이 보여질 부분입니다...-->
<div id="div_id" style="width:997px; height:37px; position:absolute; left:0px; top:0px; z-index:0;">
<table border="0" height="25" width="1000">
<tr>
<td width="1000" height="25" style="margin:0;">
<a href="http://rohanmania.mireene.com/main.htm"> <img src="http://rohanmania.mireene.com/scr1.jpg" border="0" vspace="0" hspace="0"><img src="http://rohanmania.mireene.com/scr2.jpg" border="0" vspace="0" hspace="0"><img src="http://rohanmania.mireene.com/scr3.jpg" border="0" vspace="0" hspace="0"><img src="http://rohanmania.mireene.com/scr4.jpg" border="0" vspace="0" hspace="0"><img src="http://rohanmania.mireene.com/scr5.jpg" border="0" vspace="0" hspace="0"></a>
</td>
</tr>
</table>
</div><p align="center"><!-- 여기까지-->
<script type="text/javascript" language="javascript">
<!--
var scroll_pixel,div_pixel,gtpos,gbpos,loop,moving_spd;
var top_margin = 0; /// 창의 맨위와의 여백 내려올때
var top_margin2 = 25; /// 창의 맨위와의 여백 올라올때
var speed = 20; /// 점차 줄어드는 속도를 위한 설정
var speed2 = 15; /// setTimeout을 위한 속도 설정
function check_scrollmove()
{
scroll_pixel = document.body.scrollTop;
gtpos = document.body.scrollTop+top_margin;
gbpos = document.body.scrollTop+top_margin2;
if(div_id.style.pixelTop < gtpos)
{
moving_spd = (gbpos-div_id.style.pixelTop)/speed;
div_id.style.pixelTop += moving_spd;
}
if(div_id.style.pixelTop > gtpos)
{
moving_spd = (div_id.style.pixelTop-gtpos)/speed;
div_id.style.pixelTop -= moving_spd;
}
loop = setTimeout("check_scrollmove()",speed2);
}
function moving_control()
{
if(!moving_stat){ check_scrollmove(); moving_stat = 1;}
else{ clearTimeout(loop); moving_stat = 0; div_id.style.pixelTop = top_margin;}
}
check_scrollmove();
-->
</script>
</td>
<td></td>
<td></td>
</tr>
<tr>
<td bgcolor="gray" width="994" colspan="3" height="25" valign="top">
<table border="0" width="1000" height="25" bgcolor="white" align="center">
<tr>
<td height="25">
<p align="left"><? print_outlogin("login" , 1 , 10) ?>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="327" valign="top">
<p align="left"><font size="5" color="white"><span style="background-color:white;"><br></span> </font><b><font size="5" color="white">Welcome to</font></b></p>
<p align="left"><b><font size="5" color="white"> <Rohan
Mania></font></b></p>
</td>
<td width="327" valign="top">
<table border="0" cellpadding="0" cellspacing="0" width="333" height="480" align="center">
<tr>
<td height="300" align="center" valign="top" style="text-align:center;">
<p align="center"> </p>
</td>
</tr>
<tr>
<td height="230" valign="top" align="center">
<p align="center"><?print_bbs("notice", "공지사항", "notice", 5, 100, 50, 15)?></p>
</td>
</tr>
</table>
</td>
<td width="327" valign="top">
<p align="center"> </p>
</td>
</tr>
<tr>
<td width="1004" colspan="3">
<table border="0" cellpadding="0" cellspacing="0" width="1001" height="180" align="center">
<tr>
<td width="200" height="30">
<p align="center"> </p>
</td>
<td width="299" height="230" valign="top" rowspan="2" align="center">
<p align="center"><?print_bbs("bbs", "자유게시판", "freeboard", 5, 100, 50, 15)?></p>
</td>
<td width="299" height="230" valign="top" rowspan="2" align="center">
<p align="center"><?print_bbs("tip", "노하우&팁", "tips", 5, 100, 50, 15)?> </td>
<td width="203" height="30">
<p align="center"> </p>
</td>
</tr>
<tr>
<td width="200">
<p align="center"> </p>
</td>
<td width="203">
<p align="center"> </p>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="327">
<p align="center"> </p>
</td>
<td width="327">
<table border="0" cellpadding="0" cellspacing="0" width="333" height="150" align="center">
<tr>
<td height="230" valign="top" colspan="2" align="center" style="text-align:center;">
<p align="center"><?print_gallery("gallery", "gellery", "gellery", 5, 50, 50, 5)?></p>
</td>
</tr>
<tr>
<td align="right" valign="top">
<p align="center"> </p>
</td>
<td align="right" valign="top">
<p align="center"> </td>
</tr>
</table>
</td>
<td width="327">
<p align="center"> </p>
</td>
</tr>
</table>
</body>
</html>
이렇게 꾸몄는데 이상하게 공지하고 겔러리가 오른쪽으로 치우쳐요 ㅜㅜ 왜그러는지 갈켜주세요...
http://rohanmania.mireene.com/ ->
하나의 표롤 나누시면됩니다.
┏━━━━━━┳━━━━━━┓
┃최근게시물1 ┃최근게시물2 ┃
┣━━━━━━╋━━━━━━┫
┃최근게시물3 ┃최근게시물4 ┃
┣━━━━━━┻━━━━━━┫
┃ 최근게시물 ┃
┗━━━━━━━━━━━━━┛
수정된소스입니다
<?
$_zb_url = "http://rohanmania.mireene.com/bbs/zb/";
$_zb_path = "/web/home/rohanmania/html/bbs/zb/";
include $_zb_path."outlogin.php";
?>
<html>
<head>
<style>
BODY {
SCROLLBAR-FACE-COLOR: #DDDDDD;
SCROLLBAR-HIGHLIGHT-COLOR: #EEEEEE;
SCROLLBAR-SHADOW-COLOR: #CCCCCC;
SCROLLBAR-3DLIGHT-COLOR: #DDDDDD;
SCROLLBAR-ARROW-COLOR: #BBBBBB;
SCROLLBAR-TRACK-COLOR: #EEEEEE;
SCROLLBAR-DARKSHADOW-COLOR: #CCCCCC;
}
</style>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>:::::로한매니아:::::</title>
<meta name="generator" content="Namo WebEditor v5.0">
</head>
<body style="margin:0;" bgcolor="black" text="white" link="white" vlink="white" alink="white">
<table border="0" width="100%" height="100%" cellspacing="3" background="http://rohanmania.mireene.com/main.jpg" bordercolordark="white" bordercolorlight="black" cellpadding="0">
<tr>
<td width="181" colspan="1" height="25">
<p align="center"><!-- 이부분이 보여질 부분입니다...-->
<div id="div_id" style="width:997px; height:37px; position:absolute; left:0px; top:0px; z-index:0;">
<table border="0" height="25" width="1000">
<tr>
<td width="1000" height="25" style="margin:0;">
<a href="http://rohanmania.mireene.com/main.htm"><img src="http://rohanmania.mireene.com/scr1.jpg" border="0" vspace="0" hspace="0"><img src="http://rohanmania.mireene.com/scr2.jpg" border="0" vspace="0" hspace="0"><img src="http://rohanmania.mireene.com/scr3.jpg" border="0" vspace="0" hspace="0"><img src="http://rohanmania.mireene.com/scr4.jpg" border="0" vspace="0" hspace="0"><img src="http://rohanmania.mireene.com/scr5.jpg" border="0" vspace="0" hspace="0"></a>
</td>
</tr>
</table>
</div><p align="center"><!-- 여기까지-->
<script type="text/javascript" language="javascript">
<!--
var scroll_pixel,div_pixel,gtpos,gbpos,loop,moving_spd;
var top_margin = 0; /// 창의 맨위와의 여백 내려올때
var top_margin2 = 25; /// 창의 맨위와의 여백 올라올때
var speed = 20; /// 점차 줄어드는 속도를 위한 설정
var speed2 = 15; /// setTimeout을 위한 속도 설정
function check_scrollmove()
{
scroll_pixel = document.body.scrollTop;
gtpos = document.body.scrollTop+top_margin;
gbpos = document.body.scrollTop+top_margin2;
if(div_id.style.pixelTop < gtpos)
{
moving_spd = (gbpos-div_id.style.pixelTop)/speed;
div_id.style.pixelTop += moving_spd;
}
if(div_id.style.pixelTop > gtpos)
{
moving_spd = (div_id.style.pixelTop-gtpos)/speed;
div_id.style.pixelTop -= moving_spd;
}
loop = setTimeout("check_scrollmove()",speed2);
}
function moving_control()
{
if(!moving_stat){ check_scrollmove(); moving_stat = 1;}
else{ clearTimeout(loop); moving_stat = 0; div_id.style.pixelTop = top_margin;}
}
check_scrollmove();
-->
</script>
</td>
<td width="583"></td>
<td width="177"></td>
</tr>
<tr>
<td bgcolor="gray" width="948" colspan="3" height="25" valign="top">
<table border="0" width="1000" height="25" bgcolor="white" align="center">
<tr>
<td height="25">
<p align="left"><? print_outlogin("login" , 1 , 10) ?>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="181" valign="top">
<p align="left"><font size="5" color="white"><span style="background-color:white;"><br></span> </font><b><font size="5" color="white">Welcome to</font></b></p>
<p align="left"> <b><font size="5" color="white"><Rohan
Mania></font></b></p>
</td>
<td width="583" valign="top">
<table align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="273" height="269" valign="top">
<p> </p>
</td>
<td width="273" height="269" valign="top">
<p> </p>
</td>
</tr>
<tr>
<td width="273" valign="top">
<p> </p>
</td>
<td width="273" height="230" valign="top"> <p align="center"><?print_bbs("notice", "공지사항", "notice", 5, 100, 50, 15)?></p>
</td>
</tr>
<tr>
<td width="273" height="230" valign="top"> <p align="center"><?print_bbs("bbs", "자유게시판", "freeboard", 5, 100, 50, 15)?></p>
</td>
<td width="273" height="230" valign="top"> <p align="center"><?print_bbs("tip", "노하우&팁", "tips", 5, 100, 50, 15)?></td>
</tr>
<tr>
<td width="273" height="230" valign="top">
<p> </p>
</td>
<td width="273" height="230" valign="top"> <p align="center"><?print_gallery("gallery", "gellery", "gellery", 5, 50, 50, 5)?></p>
</td>
</tr>
</table>
</td>
<td width="177" valign="top">
<p align="center"> </p>
</td>
</tr>
</table>
<p> </p>
</body>
</html>