다시 한번 급질문 드립니다.^^;;view화면 관련 > 그누4 질문답변

그누4 질문답변

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

다시 한번 급질문 드립니다.^^;;view화면 관련 정보

다시 한번 급질문 드립니다.^^;;view화면 관련

본문

해결하지 못하여 다시 고수님들께 이렇게 질문을 드리게 되었습니다.

다름이 아니라 현재 리스트(list) 화면과  글쓰기(write) 화면은 아무 이상이 없이 중앙 정렬이
되어 잘 나옵니다만 view보여지는 화면에서 사진과 글 내용이 왼쪽으로만 쏠리는 현상이
일어나고 있어서 참 난감해요. ㅜ.ㅜ
이런적이 없어서 어떻게 해결해야 할지 이곳에 한번 질문을 올렸었는데요.
답변은 table의 border=1을 줘보라고 해서 했는데 잘 되지 않습니다. 물론 제가 잘 못해서
일겁니다.

이러한 현상이 일어나는 이유를 모르겠네요. 분명 head와 tail을 나눈곳에서 빠진것은 없는데요.
과연 어떻게 해야 할까요? ;;

dhtml 체크해서 각종 사진과 글들이 혼합도 해야하고 하는데 왼쪽으로 정렬되어서 되니
작업하는데 많은 불편함이 따르고 있답니다.
고수님들의 자상한 답변을 부탁 드릴께요.

★ head의 내용 아래

<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
include_once("$g4[path]/lib/outlogin.lib.php"); // outlogin() 함수를 사용하여야 하므로 이 프로그램을 포함시킵니다.
include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/popular.lib.php");
$g4['title'] = "";
?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<title>제목제목</title>

<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style></head>

<body>
<table width="1000" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="56" colspan="7"><table width="1000" height="58" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="52" rowspan="2"><div align="right">
          </div></td>
        <td width="177" rowspan="2"><img src="<?=$g4[path]?>/image/index_logo.gif" width="135" height="58"></td>
        <td width="526" height="30">&nbsp;</td>
        <td width="245">
<font style='font-family:돋움; font-size:8pt; color:#333333;'>
<a href="http://cnjoa.maru.net">Home</a> | <a href="#">회원가입</a> | <a href="#">로그인</a> | <a href="#">Sitemap</a></td>
      </tr>
      <tr>
        <td height="28" valign="bottom">
<!-- 한줄광고 또는 이벤트 시작-->    <div align="left">
  <table width="419" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td width="501" height="28"><?=latest('notice_scroll', news, 2, 60);?></td>
            </tr>
          </table>
</div></td>
        <td align="left" valign="top"><iframe height="20" width="180" frameborder="0" scrolling="no" src="http://app.haoshandong.net/weather/" align="right" ></iframe>&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr align="center">
    <td height="88" colspan="7"><table width="959" height="88" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td background="image/menu.gif"><table width="800" height="88" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td height="60" colspan="3">
<? /* 시작 - 오브젝트구문전체를 textarea 구문으로 감쌉니다 */ ?>
            <textarea id=main1 style="display:none;" rows="0" cols="0">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="800" height="60">
              <param name="movie" value="<?=$g4[path]?>/main_menu-1.swf">
              <param name="wmode" value="transparent">
              <embed src="<?=$g4[path]?>/main_menu-1.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="800" height="60"></embed>
            </object>
</textarea>
            <? /* 종료 - 오브젝트구문전체를 textarea 구문으로 감쌉니다 */ ?>
<? /* 시작 - js 파일을 파라메타(main1)를 붙여서 호출 */ ?>
            <script language="javascript" src=http://cnjoa.maru.net/okplugin_js.php?txtid=main1></script>
            <? /* 종료 - js 파일을 파라메타(main1)를 붙여서 호출 */ ?>
</td>
          </tr>
          <tr>
            <td width="23" height="28"></td>
            <td width="303"><!--검색엔진 시작-->
  <table width="300" height="22" border="0" cellspacing="0" cellpadding="0">
  <form name="fsearchbox" method="get" action="javascript:fsearchbox_submit(document.fsearchbox);">
          <input type="hidden" name="sfl" value="wr_subject">
          <input type="hidden" name="sop" value="and">
    <tr>
    <td width="60" align="left"><img src="<?=$g4[path]?>/scbar/img/search_fr.gif" width="56" height="19" border=0 align=absmiddle></td>
    <td align="center"><input name="stx" maxlengt=20 onblur="this.style.background='#ffffff'"
                                style="BORDER-RIGHT: rgb(204,204,204) 1px solid; BORDER-TOP: rgb(204,204,204) 1px solid; BACKGROUND-IMAGE: url(http://dmbuser.com/search/images/sc_bg.gif); BORDER-LEFT: rgb(204,204,204) 1px solid; WIDTH: 190px; BORDER-BOTTOM: rgb(204,204,204) 1px solid; HEIGHT: 19px"
                                onfocus="this.style.background='#ffffff'" size="20" maxlength="20"></td>
    <td width="51" align="right"> <input type="image" src="<?=$g4[path]?>/scbar/img/scin.gif" width="47" height="21" border="0"></td>
    </tr>
  </form>
  </table>

              <script language="JavaScript">
function fsearchbox_submit(f)
{
    if (f.stx.value == '')
    {
        alert("검색어를 입력하세요.");
        f.stx.select();
        f.stx.focus();
        return;
    }

    /*
    // 검색에 많은 부하가 걸리는 경우 이 주석을 제거하세요.
    var cnt = 0;
    for (var i=0; i<f.stx.value.length; i++)
    {
        if (f.stx.value.charAt(i) == ' ')
            cnt++;
    }

    if (cnt > 1)
    {
        alert("빠른 검색을 위하여 검색어에 공백은 한개만 입력할 수 있습니다.");
        f.stx.select();
        f.stx.focus();
        return;
    }
    */

    f.action = "<?=$g4[bbs_path]?>/search.php";
    f.submit();
}
</script><!-- 검색엔진 끝 --></td>
            <td width="474" valign="middle">
<!-- 인기검색어 시작 -->
<?=popular("zbasic" , 5)?>
    <!-- 인기검색어 끝 --></td>
          </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
  <tr align="center">
    <td height="4" colspan="7"></td>
  </tr>
  <tr>
    <td width="21" height="809">&nbsp;</td>
    <td width="183" align="left" valign="top"><table width="181" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="2"></td>
      </tr>
      <tr>
        <td valign="top"><table width="181" height="113" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td align="center" valign="top"><?=outlogin("outlogin_blue"); // 외부 로그인 ?></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td width="181" height="6"></td>
      </tr>
      <tr>
        <td><table width="181" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="181" height="28" align="left" valign="top"><img src="<?=$g4[path]?>/image/yuyue.gif" width="181" height="28"></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td width="181" height="6"></td>
      </tr>
      <tr>
        <td><table width="182" height="257" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td width="182" height="59"><img src="<?=$g4[path]?>/image/seavice_1.gif" width="181" height="59"></td>
          </tr>
          <tr>
            <td width="182" height="25"><img src="<?=$g4[path]?>/image/seavice_2.gif" width="182" height="26"></td>
          </tr>
          <tr>
            <td width="182" height="24"><img src="<?=$g4[path]?>/image/seavice_3.gif" width="182" height="24"></td>
          </tr>
          <tr>
            <td width="182" height="24"><img src="<?=$g4[path]?>/image/seavice_4.gif" width="182" height="24"></td>
          </tr>
          <tr>
            <td width="182" height="24"><img src="<?=$g4[path]?>/image/seavice_5.gif" width="182" height="24"></td>
          </tr>
          <tr>
            <td width="182" height="24"><img src="<?=$g4[path]?>/image/seavice_6.gif" width="182" height="24"></td>
          </tr>
          <tr>
            <td width="182" height="24"><img src="<?=$g4[path]?>/image/seavice_7.gif" width="182" height="24"></td>
          </tr>
          <tr>
            <td width="182" height="24"><img src="<?=$g4[path]?>/image/seavice_8.gif" width="182" height="24"></td>
          </tr>
          <tr>
            <td width="182" height="28"><img src="<?=$g4[path]?>/image/seavice_9.gif" width="181" height="28"></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td width="181" height="6"></td>
      </tr>
      <tr>
        <td><table width="181" height="160" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td width="181" height="40"><a href="#"><img src="<?=$g4[path]?>/image/sub_1.gif" width="181" height="40" border="0"></a></td>
          </tr>
          <tr>
            <td><a href="#"><img src="<?=$g4[path]?>/image/sub_2.gif" width="181" height="40" border="0"></a></td>
          </tr>
          <tr>
            <td><a href="#"><img src="<?=$g4[path]?>/image/sub_3.gif" width="181" height="40" border="0"></a></td>
          </tr>
          <tr>
            <td><a href="#"><img src="<?=$g4[path]?>/image/sub_4.gif" width="181" height="40" border="0"></a></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td width="181" height="6"></td>
      </tr>
      <tr>
        <td width="181" height="194"><table width="181" height="194" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td><img src="<?=$g4[path]?>/image/helf%20desk.gif" width="181" height="200"></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td width="181" height="150"><table width="181" height="150" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td>&nbsp;</td>
          </tr>
        </table></td>
      </tr>
    </table></td>
    <td width="6" valign="top"><p>&nbsp;</p>      </td>
    <td width="585" valign="top">


★tail의 내용

&nbsp;</td>
    <td width="6" valign="top">&nbsp;</td>
    <td width="182" valign="top"><table width="181" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="2" valign="top"></td>
      </tr>
      <tr>
        <td><table width="181" border="0" cellpadding="0" cellspacing="0">
            <tr>
              <td width="210" height="120" align="left" valign="top"><img src="image/guanggao.gif" width="181" height="120"></td>
            </tr>
        </table></td>
      </tr>
      <tr>
        <td height="6"></td>
      </tr>
      <tr>
        <td><table width="181" height="205" border="0" cellpadding="0" cellspacing="0">
            <tr>
              <td width="220" align="left" valign="top">
                <?=latest("cdh_skin", "cnmemory", 4, 25);?></td>
            </tr>
        </table></td>
      </tr>
      <tr>
        <td width="210" height="100"><table width="181" height="197" border="0" cellpadding="0" cellspacing="0">
            <tr>
              <td width="210" height="100"> <? echo latest("banner", 'banner', 6, 30, "3,70"); ?></td>
            </tr>
        </table></td>
      </tr>
      <tr>
        <td height="59"><table width="180" height="67" border="0" cellpadding="0" cellspacing="0">
            <tr>
              <td width="180" height="19" valign="bottom"><span class="style1">내용내용</span></td>
            </tr>
            <tr>
              <td width="180" height="36" align="left" valign="middle"><form name="form1" method="post" action="">
                  <div align="left">
                    <select name="select">
                      <option>내용내용</option>
                      <option>내용내용</option>
                    </select>
                  </div>
              </form></td>
            </tr>
        </table></td>
      </tr>
      <tr>
        <td height="14"><table width="181" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="210" height="201"><?=latest("club_img", "best_poto", 1,20);?></td>
            </tr>
        </table></td>
      </tr>
    </table></td>
    <td width="20" valign="top">&nbsp;</td>
  </tr>
  <tr>
    <td height="71" colspan="7"><table width="960" height="71" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td><div align="left"><img src="image/add.gif" width="960" height="71" border="0" usemap="#Map3"></div></td>
      </tr>
    </table>    <table width="960" height="94" border="0" align="center" cellpadding="0" cellspacing="0">
  </table></td>
  </tr>
</table>
<map name="Map3">
  <area shape="rect" coords="873,8,915,64" href="#">
</map>
</body>
</html>

※ 콕 찝어서 수정해야 할곳을 좀 알려 주시면 ㅜ.ㅜ 이 초보 감사 드리겠사옵니다.
  • 복사

댓글 전체

view화면에서 무언가 이상이 잇다면 view파일에 어떤 문제가 있는게 아닌가 싶습니다.
view에 적용된 css에서 정렬시키는 부분이 있다던가. 스킨의 view.skin.php를 살펴보세요
© SIRSOFT
현재 페이지 제일 처음으로