정렬문제에서 막히네요^^ > 그누4 질문답변

그누4 질문답변

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

정렬문제에서 막히네요^^ 정보

정렬문제에서 막히네요^^

본문

오류가 나는곳의 주소를 알려주시면 더 빠르고 정확하게 답변 받을 수 있습니다.

오류 주소 : http://gasi.na.mu

왼쪽 로그인과 본문의 정렬을 균등하게 하고 싶은데 잘안되네요
로그인과 본문에 약간의 여백 그리고 본문의 좌우도 사이에 같은 사이즈(본문과 로그인)로 여백을 두어 초기화면을 안정감있게 가져가고 싶은데 실력이 허접해서리... 소스좀 봐주세요

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 = 900;

//print_r2($g4);
//$dir = dirname($HTTP_SERVER_VARS["PHP_SELF"]);
?>

<script language="JavaScript">
<!--
function na_restore_img_src(name, nsdoc)
{
  var img = eval((navigator.appName.indexOf('Netscape', 0) != -1) ? nsdoc+'.'+name : 'document.all.'+name);
  if (name == '')
    return;
  if (img && img.altsrc) {
    img.src    = img.altsrc;
    img.altsrc = null;
  }
}

function na_preload_img()
{
  var img_list = na_preload_img.arguments;
  if (document.preloadlist == null)
    document.preloadlist = new Array();
  var top = document.preloadlist.length;
  for (var i=0; i < img_list.length; i++) {
    document.preloadlist[top+i]    = new Image;
    document.preloadlist[top+i].src = img_list[i+1];
  }
}

function na_change_img_src(name, nsdoc, rpath, preload)
{
  var img = eval((navigator.appName.indexOf('Netscape', 0) != -1) ? nsdoc+'.'+name : 'document.all.'+name);
  if (name == '')
    return;
  if (img) {
    img.altsrc = img.src;
    img.src    = rpath;
  }
}

// -->
</script>

<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" OnLoad="na_preload_img(false, 'img/img2/menu01_2.gif', 'img/img2/menu02_2.gif', 'img/img2/menu03_2.gif', 'img/img2/menu04_2.gif');">

<table cellpadding="0" cellspacing="0" width="1000" align="center">
    <tr>
        <td width="900">
            <table width="900" height="72" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td height="70">
<table align="center" cellpadding="0" cellspacing="0" width="900">
<tr>
<td width="195" height="65" valign="middle" align="center"><a href="<?=$g4[path]?>/"><img src="<?=$g4[path]?>/img/img2/logo.gif" width="190" height="65" border="0"></a></td>
<td width="299" height="65"></td>
<td width="406" height="65" align="right">
<table cellpadding="0" cellspacing="0" width="420">
<tr>
<td width="620" height="25" align="right"><a href="<?=$g4[path]?>/"><font style='font-family:돋움; font-size:8pt; color:#666666;'><b>HOME</b></font></a> | <font style='font-family:돋움; font-size:9pt; color:#666666;'><? if (!$member[mb_id]) { ?></font><font style='font-family:돋움; font-size:8pt; color:#f9f9f9;'><font style='font-family:돋움; font-size:9pt; color:#666666;'><a href="<?=$g4[bbs_path]?>/login.php?url=<?=$urlencode?>"><font style='font-family:돋움; font-size:8pt; color:#666666;'>로그인</font></a> | <a href="<?=$g4[bbs_path]?>/register.php"><font style='font-family:돋움; font-size:8pt; color:#666666;'>회원가입 </font></a><? } else { ?>&nbsp;<a href="<?=$g4[bbs_path]?>/logout.php"><font style='font-family:돋움; font-size:8pt; color:#666666;'>로그아웃</font></a> | <a href="<?=$g4[bbs_path]?>/member_confirm.php?url=register_form.php"><font style='font-family:돋움; font-size:8pt; color:#666666;'>정보수정</font></a><? } ?><? if ($is_admin == "super" || $is_auth) { ?> | <a href="<?=$g4[admin_path]?>/"><font style='font-family:돋움; font-size:8pt; color:#666666;'> 관리자</font></a><? } ?></td>
</tr>
<tr>
<td width="620" height="40" align="right"><font style='font-family:굴림; font-size:9pt; color:#666666;'>
                      <? include_once("$g4[path]/file/day.php"); ?>
                      </font></td>

</tr>
</table>
</td>
</tr>
</table>
  </td>
</tr>
<tr>
<td height="80" align="center">
<table cellpadding="0" cellspacing="0" width="900" align="center">
<tr>
<td height="85">
<table cellpadding="0" cellspacing="0" width="900">
<tr>
<td width="10" height="85" background="<?=$g4[path]?>/img/img2/bar01.gif"></td>
<td width="880" height="85" background="<?=$g4[path]?>/img/img2/bar02.gif">
<table cellpadding="0" cellspacing="0" width="880" align="center">
<tr>
<td width="880" height="50"></td>
<td width="75" height="50"><a href="<?=$g4[path]?>/bbs/board.php?bo_table=html1_1" OnMouseOut="na_restore_img_src('image1', 'document')" OnMouseOver="na_change_img_src('image1', 'document', '<?=$g4[path]?>/img/img2/menu01_2.gif', true);"><img src="<?=$g4[path]?>/img/img2/menu01.gif" width="75" height="50" border="0" name="image1"></a></td>
<td width="10" height="50"><img src="<?=$g4[path]?>/img/img2/menu00.gif" width="10" height="50" border="0"></td>
<td width="70" height="50"><a href="<?=$g4[path]?>/bbs/board.php?bo_table=product1_1" OnMouseOut="na_restore_img_src('image2', 'document')" OnMouseOver="na_change_img_src('image2', 'document', '<?=$g4[path]?>/img/img2/menu02_2.gif', true);"><img src="<?=$g4[path]?>/img/img2/menu02.gif" width="70" height="50" border="0" name="image2"></a></td>
<td width="10" height="50"><img src="<?=$g4[path]?>/img/img2/menu00.gif" width="10" height="50" border="0"></td>
<td width="75" height="50"><a href="<?=$g4[path]?>/bbs/board.php?bo_table=m1_1" OnMouseOut="na_restore_img_src('image3', 'document')" OnMouseOver="na_change_img_src('image3', 'document', '<?=$g4[path]?>/img/img2/menu03_2.gif', true);"><img src="<?=$g4[path]?>/img/img2/menu03.gif" width="75" height="50" border="0" name="image3"></a></td>

</tr>
<tr>

                          <td width="880" height="35" align="center" colspan="8">
                            <? include "wise_2.php";?>
                          </td>
</tr>
</table>
</td>
<td width="10" height="85" background="<?=$g4[path]?>/img/img2/bar03.gif" align="center"></td>
</tr>
</table>
</td>
</tr>
</table>
  </td>
</tr>
</table>

<table width="900" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
<td align="center" width="900" valign="top">

<table width="900" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
  <td width="220" valign="top" align="center" height="465" style="border-right-width:1px; border-right-color:#cccccc; border-right-style:solid;">
<table cellpadding="0" cellspacing="0" width="190">
<tr>
<td width="220" height="135" align="center" valign="top">
  <table cellpadding="0" cellspacing="0">
                    <tr>
                      <td width="220" align="center">
                        <?=outlogin("log"); // 외부 로그인 ?>
                      </td>
                    </tr>
                  </table>
</td>
</tr>

<tr>
<td width="219"><?=poll("basic")?></td>
</tr>
<tr>
<td width="190"></td>
</tr>
<tr>
<td width="190"></td>
</tr>
<tr>
<td width="190"></td>
</tr>
</table>
  </td>
  <td width="710" valign="top" align="center" height="465">



index.php

<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");

$g4['title'] = "";
include_once("./_head.php");
?>

<!-- 메인화면 최신글 시작 -->
<table cellpadding="0" cellspacing="0" width="680" align="center">
<tr>
<td width="330" height="465" align="right" valign="top">
<table cellpadding="0" cellspacing="0" width="330">
<tr>
<td width="330" height="465">
<? echo latest("coverstory_latest", banner, 3, 50); // 목록수는 최대 5개까지 ?>

</td>
</tr>
</table>
</td>
<td width="330" height="465" valign="top">
<table cellpadding="0" cellspacing="0" width="330" style="border-left-width:1px; border-left-color:#cccccc; border-left-style:solid;">
<tr>
<td width="320" height="150" valign="top"><? include_once("$g4[path]/tab3_menu.php"); // 탭3 메뉴?><div align="right"></div></td>
</tr>
<tr>
<td width="320" valign="top">
<embed style="FILTER: xray();" src="<?=$g4[path]?>/file/mbn.wmv"  width="320" height="308"></embed><div align="right"></div>
    </td>
</tr>
</table>
</td>
</tr>
</table>
<!-- 메인화면 최신글 끝 -->

<?
include_once("./_tail.php");
?>
  • 복사

댓글 전체

© SIRSOFT
현재 페이지 제일 처음으로