스크롤이 생겨 났어요 ? > 그누4 질문답변

그누4 질문답변

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

스크롤이 생겨 났어요 ? 정보

스크롤이 생겨 났어요 ?

본문

안녕하세요
아래는 index.php입니다.
근데 인덱스가 갑자기 폭이 넓어져서 하단 스크롤 막대가 생겨 났습니다.
즉 우측면이 넓어졌습니다. 그래서 홈피가 좌우로 왔다 갔다 합니다.
혹시 왜 그런지를 좀 봐주세요
너무 간단한건뎅 잘 모르겠습니다.
가르쳐 주세요
저 참 바보같죠 
조언을 바랍니다. 
 
좋은 하루 되세여  ^^
 
 
 
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
$g4[title] = "000";
include_once("./_head.php");
?>
<table width="680" cellpadding=0 cellspacing=5>
<tr>
    <td width="675" align="center" height="25">
<img src="img/simudoo.gif" width="675" height="300" border="0">
</tr>
</table>
 
 
<table cellpadding='0' celspacing='0'><tr><td height='2'></td></tr></table>

<!-- 메인화면 최신글 시작 -->

<?=latest("mc_scroll", 2, 20, 15);?>
  
<table cellpadding='0' celspacing='0'><tr><td height='2'></td></tr></table>

<table width="680" cellpadding=0 cellspacing=5>
<?    // 그룹별, 게시판별 최신글
    $gr_id = "daesoon1";
    $sql = " select bo_table, bo_subject from $g4[board_table] where gr_id = '$gr_id' and bo_use_search=1 order by bo_order_search";
    $result = sql_query($sql);
    $k=0;
    echo "<tr valign='top'>";
    for ($i=0; $row=mysql_fetch_array($result); $i++) {
      $k=$k+1;
       echo "<td width=50%>";
      echo latest('basic_b', $row[bo_table], 3, 45);
      echo "</td>";
      if($k==2) {echo "</tr><tr valign='top'>"; $k=0;}
    }
    ?>
</tr>
</table>

<table width="680" cellpadding=0 cellspacing=5>
 <?=latest('Thum_gallery','91', 4, 30);?>
</tr>
</table>

<!-- 메인화면 최신글 끝 -->
 
 
<?
include_once("./_tail.php");
?>
  • 복사

댓글 전체

<table width="680" cellpadding=0 cellspacing=5>
<tr>
    <td width="670" align="center" height="25">
<img src="img/simudoo.gif" width="670" height="300" border="0">
    </td>
</tr>
</table>
index.php 만의 문제가 아니라 head.php 파일도 문제네요...

테이블구성이 제대로 안되어있어요... 잘 살펴 보세요...^^

<table >
<tr>
    <td>  </td>
</tr>
</table>

위 처럼 항상 쌍으로 이루어져야하는데 그렇지가 못하네요..
초보라서 어쩔수 없어요 모르는 부분이 많아요  그래도 의욕만 가지고 했던거지요
기초의 부재입니다. 무식해도 해나가는  뭐 그런것입니다.  약간의 고행길입니다.
감사합니다.    조언 잘 참조 하겠습니다.  ^^ 
그리고 더많은 지도가 있으시다면 너무나 감사히 받아 드리겠습니다.
열린마음으로요  .......
<div id="layer1" style="width:500px; height:36px; position:absolute; left:720px; top:79px; z-index:1;">
<a href="http://kidoham.com/hom/kidoham6.php"><b><span style="font-size:11pt;"><font color="white">기도함신청서</font></span></b></a><font color="white"><span style="font-size:11pt;"><b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</b></span>
<span style="font-size:11pt;"><b> </b></span></font><a href="../bbs/new.php"><b><span style="font-size:11pt;"><font color="white">최근게시물</font></span></b></a><font color="white">
</font>            </div>

이부분의 삽입에서 발생한 문제 같읍니다. 검토 하셔요^^

매뉴 수정을 하셔야 하겟습니다. 현재는 전반적 설정이 틀려서 해상도가 1024가 넘으면 겹치는군요,
해당 원본 소스 없이 돌맹이 던지는 거라.
잘 고쳐 보시라는 말씀만,ㅜ.ㅜ
김대년 님!
귀신과 같이 잘 찾아 주셨네요
감사합니다.
수정해 봐야 겠네요
근데 상단 메뉴바자체가 그룹메뉴이다 보니 거기다 최근게시물과 신청서를 올릴수가 있어야 지요
그래서 좀 억지스럽게 되어 버렸습니다.


<!-- 상단 로고 및 버튼 시작 -->
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
    <td width="63" height="56">                       
            <div id="layer1" style="width:500px; height:36px; position:absolute; left:720px; top:79px; z-index:1;">
<a href="http://kidoham.com/hom/kidoham6.php"><b><span style="font-size:11pt;"><font color="white">기도함신청서</font></span></b></a><font color="white"><span style="font-size:11pt;"><b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</b></span>
<span style="font-size:11pt;"><b> </b></span></font><a href="<?=$g4[bbs_path]?>/new.php"><b><span style="font-size:11pt;"><font color="white">최근게시물</font></span></b></a><font color="white">
</font>            </div>
</td>
  <!>
        <td width="222" height="56">
            <p><a href="<?=$g4[path]?>/"><img src="<?=$g4[path]?>/img/logo.jpg" width="145" height="37" border="0"></a></p>
</td>
    <td width="1" height="56">
    <table width=100% border=0 cellpadding=0 cellspacing=0>
        <tr>
<td></td>
        </tr>
        </table></td>
    </td>
    <td width="650" align="right" height="56">
    <td width="2" height="56"></td>
<script language="JavaScript">

function getObject(objectId) {
// checkW3C DOM, then MSIE 4, then NN 4.
//
if(document.getElementById && document.getElementById(objectId)) {
return document.getElementById(objectId);
}
else if (document.all && document.all(objectId)) {
return document.all(objectId);
}
else if (document.layers && document.layers[objectId]) {
return document.layers[objectId];
} else {
return false;
}
}

function show(id) {
getObject([id]).style.visibility="visible";
}
function hide(id) {
getObject([id]).style.visibility="hidden";
}

</script>





저도 그누를 사랑합니다.
너무나 모르던 나에게
그누 중독성이 약간있습니다.
그누고마운거죠


테이블구성
테이블구성
유념하겠습니다.

마음은 항상 열려 있습니다.
이렇게 조언들 주시니 너무 감사합니다.
초보인 저에게 따듯한 손길을많이들 주시는 군요


행복한 하루 되세요 ^^
메뉴가 출력되는부분중 레이어가 나타나는 부분   

 <td colspan=2 onmouseover="layer_view('','','','','')"><a href='<? 중략 ?>/' border=0></a></td>
    <td>
        <?
        --- 중략 --
        }
        ?>

이런 유사한 부분을 만드신것 같읍니다.
전 영카트를 써서 그누보드랑 좀 틀려서.. 내용은 비슷할거라 봅니다.
상단 몇줄  끝나는  ?>  바로 아래에

<a href="http://kidoham.com/hom/kidoham6.php"><b><span style="font-size:11pt;"><font color="white">기도함신청서</font></span></b></a><font color="white"><span style="font-size:11pt;"><b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</b></span>
<span style="font-size:11pt;"><b> </b></span></font><a href="../bbs/new.php"><b><span style="font-size:11pt;"><font color="white">최근게시물</font></span></b></a>

이렇게 너으시면 될거 같읍니다.이미지로 하시고 싶으면 그건 아실것 같읍니다.
© SIRSOFT
현재 페이지 제일 처음으로