좌측 정렬 홈페이지 가운데 정렬. > 그누4 질문답변

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기
기존 게시물은 열람만 가능합니다.

좌측 정렬 홈페이지 가운데 정렬. 정보

좌측 정렬 홈페이지 가운데 정렬.

본문

좌측 정렬 홈페이지를 가운데 정렬로 작업중,
상단에 있는 메뉴와 메인 플래쉬는 가운데로 정렬 하엿으나,

좌측 메뉴 및 우측 게시판 정렬이 어떻게 수정하여야 하는지 고수님들 부탁합니다.
"<td width= "225" , valign="padding-top:"5"px;", style= "padding-left:27px;" >"
고수님들 부탁합니다.

* 간단하게 한번에 처리하는 방법은 좀 부탁드립니다.

<table width="1024">
<!-- 상단부분 -->

<table border="0" cellspacing="0" cellpadding="0" align="center">

<tr>
<td rowspan="2" valign="top"><a href="<?=$g4[path]?>/index.htm" onfocus='this.blur()'><img src="<?=$g4[path]?>/f_html/image/s_logo<?=substr($gr_id,1,1)-1?>.gif" width="286" height="91" border="0"></a></td>
<td valign="top" align="right" height="30">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top"><a href="/index.htm"><img src="<?=$g4[path]?>/f_html/image/t_menu01.gif" width="46" height="18" border="0"></a></td>
<?
if($member[mb_id]){
?>
<td valign="top"><a href="<?=$g4['bbs_path']?>/logout.php"><img src="<?=$g4[path]?>/f_html/image/t_menu02s.gif" width="58" height="18" border="0"></a></td>
<td valign="top"><a href="<?=$g4['bbs_path']?>/member_confirm.php?url=register_form.php"><img src="<?=$g4[path]?>/f_html/image/t_menu03s.gif" width="90" height="18" border="0"></a></td>
<?} else{?>
<td valign="top"><a href="<?=$g4['bbs_path']?>/login.php?url=<?=$urlencode?>"><img src="<?=$g4[path]?>/f_html/image/t_menu02.gif" width="58" height="18" border="0"></a></td>
<td valign="top"><a href="<?=$g4['bbs_path']?>/register.php"><img src="<?=$g4[path]?>/f_html/image/t_menu03.gif" width="90" height="18" border="0"></a></td>
<?}?>
<td valign="top"><a href="<?=$g4['path']?>/nfor.php?gr_id=01&sNum=0"><img src="<?=$g4[path]?>/f_html/image/t_menu04.gif" width="69" height="18" border="0"></a></td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="bottom"><script>doc_write(flash_movie("<?=$g4['path']?>/f_html/swf/index.swf?mNum=<?=substr($gr_id,1,1)-1?>&sNum=<?=$sNum?>", "ids", 738, 61, "transparent"));</script></td>
</tr>
</table>
</td>
</tr>
</table>

<table border="0" cellspacing="0" cellpadding="0" width="100%" background="<?=$g4['path']?>/f_html/imag*/s_c_bg.gif" style="background-repeat:repeat-x">
 <table border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td><script>doc_write(flash_movie("<?=$g4['path']?>/f_html/swf/subvisual<?=$gr_id?>.swf", "ids", 1024, 217, "transparent"));</script></td>
</tr>
</table>

<table border="0" cellspacing="0" cellpadding="0" width="100%" background="<?=$g4['path']?>/f_html/image/s_bg.gif" style="background-repeat:repeat-x">
<tr>
<td width="1024" valign="top">


<table border="0" cellspacing="0" cellpadding="0" width="1024" valign="top">
<tr>
<td width= "225" , valign="padding-top:"5"px;", style= "padding-left:27px;" >
<br>

<script>doc_write(flash_movie("<?=$g4['path']?>/f_html/swf/left_nav<?=$gr_id?>.swf?mNum=<?=$sNum?>", "ids", "170", "162", "transparent"));</script>

</td>
<Td width="1" bgcolor="EEEEEE"></td>
  <td style='padding-left:60px;'>
<table width="750" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="2" height="21"></td>
</tr>
<tr>
<td rowspan="2" width="142"><img src="<?=$g4['path']?>/f_html/image/title_<?=substr($gr_id,1,1).($sNum+1)?>.gif"></td>
<td align="right" height="28"><font color="989595"></font><?=$g4['title']?></td>
</tr>
<tr>
<td height="1" bgcolor="b8b4b4"></td>
</tr>
<tr>
<td colspan="2" height="10"></td>
</tr>
</table>


<table width="750" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="495" valign="top">
  • 복사

댓글 전체

1. head.php 파일의 $table_width = 1004; 아래 부분에
<div align="center"> 를 넣어 준다.

2. tail.php 파일의
<?
include_once("$g4[path]/tail.sub.php");
?> 이 소스 바로 위에
</div>를 녛어준다. 즉

</div>
<?
include_once("$g4[path]/tail.sub.php");
?>
이렇게 수정해 준다.
© SIRSOFT
현재 페이지 제일 처음으로