5만 포인트 겁니다 해결점 해주세요. 홈페이지 상단 흰색 여백 없애는 방법

· 18년 전 · 1572 · 9
error.gif
<!-- Doctype 파일을 가져옵니다. -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"./layouts/ebakery/TR/html4/loose.dtd">
     <!-- css 파일을 가져옵니다. -->
<!--%import("/css/ebakery.css")-->
     <!-- js 파일을 가져옵니다. -->
<!--%import("/js/ebakery.js")-->

<TABLE width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td colspan="4" background="http://주소/zbxe/layouts/ebakery/images/center_line.gif"><TABLE width="200" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td><a href="{$layout_info->index_url}"><!--@if($layout_info->logo_image)--><img src="{$layout_info->logo_image}" width="293" height="76"><!--@else--><img src="/zbxe/layouts/ebakery/images/logo_style.gif" width="293" height="76"><!--@end--></a></td>
        <td colspan="3"><img src="./images/menu.gif" width="535" height="76" border="0" usemap="#Map" /></td>
        </tr>
      <tr>
        <td><img src="./images/center_01.gif" width="293" height="222"></td>
        <td colspan="3"><img src="./images/center_02.gif" width="535" height="222" /></td>
        </tr>
    </TABLE></td>
  </tr>
</TABLE>
<TABLE width="828" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td colspan="2" valign="top"><TABLE width="191" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td colspan="4">&nbsp;</td>
        </tr>
      <tr>
        <td width="28">&nbsp;</td>
                    <!-- ############### 메뉴 생성 Auto ############### -->
                    <!-- ############### 메뉴 생성 1차 연동 부분############### -->
                    <!-- 로그인 위젯 -->
        <td colspan="2" valign="top"><img width="100%" height="100" src="http://주소/common/tpl/images/widget_bg.jpg" class="zbxe_widget_output" style="clear:both;" widget="login_info" skin="Mac_Logo" colorset="orange" widget_cache="0" widget_margin_top="" widget_margin_left="" widget_margin_right="" widget_margin_bottom="" widget_fix_width="" widget_width="50" widget_width_type="%" widget_position="" widget_sequence="138" />
<br>
<!-- main_menu 1차 시작 -->
    <!--@foreach($main_menu->list as $key => $val)--><!--@if($val['text'])-->
        <!--@if($val['selected'])-->{@ $menu_1st = $val }<!--@end-->
        <a href="{$val['href']}" <!--@if($val['open_window']=='Y')-->onclick="window.open(this.href);return false;"<!--@end-->></a>
    <!--@end--><!--@end-->
<!-- main_menu 2차 시작 -->
<!--@if($menu_1st)-->
<ul>
    <!--@foreach($menu_1st['list'] as $key => $val)--><!--@if($val['text'])-->
    <li><a href="{$val['href']}" <!--@if($val['open_window']=='Y')-->onclick="window.open(this.href);return false;"<!--@end-->>●{$val['text']}</a>
            <!-- main_menu 3차 시작 -->
            <!--@if($val['selected'])-->
            <!--@foreach($val['list'] as $k => $v)--><!--@if($v['text'])-->
                <li><a href="{$v['href']}" <!--@if($v['open_window']=='Y')-->onclick="window.open(this.href);return false;"<!--@end-->>&nbsp;*{$v['text']}</a></li>
                <!-- 4차 메뉴 시작 -->
                <!--@if($v['selected'])-->
                <!--@foreach($v['list'] as $k4 => $v4)--><!--@if($v4['text'])-->
                <li><a href="{$v4['href']}" <!--@if($v4['open_window']=='Y')-->onclick="window.open(this.href);return false;"<!--@end-->>&nbsp;&nbsp;▷{$v4['text']}</a></li>
                <!--@end--><!--@end-->
                <!--@end-->
            <!--@end--><!--@end-->
            <!--@end-->
    </li>
    <!--@end--><!--@end-->
</ul>
<!--@end-->
<br>
                    <!-- 음악 컨트롤? -->
<a href=javascript:// onclick="window.open('http://www.ebakery.pe.kr/LovePlayer/Loveplayer.htm','music','width=300,height=200,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0');"><font size="2"><b>Music Player</b></font></a>
<br>
                    <!-- 기본 카운터 -->
<img src="http://www.ebakery.pe.kr/common/tpl/images/widget_bg.jpg" height="100" class="zbxe_widget_output" widget="counter_status" body="" skin="default" colorset="normal" widget_cache="0" widget_margin_top="0" widget_margin_left="0" widget_margin_right="0" widget_margin_bottom="0" widget_fix_width="Y" widget_width="100" widget_width_type="%" widget_position="" widget_sequence="97" style="width:100%;float:left;" />
<br>
                    <!-- 달력출력 -->
<img src="http://www.ebakery.pe.kr/common/tpl/images/widget_bg.jpg" height="100" class="zbxe_widget_output" widget="calendar" body="" skin="cozy_simple" colorset="red" widget_cache="0" mid_list="board,ebakery,gallery,guestbook,notice,profile" widget_margin_top="0" widget_margin_left="0" widget_margin_right="0" widget_margin_bottom="0" widget_fix_width="Y" widget_width="100" widget_width_type="%" widget_position="" widget_sequence="100" style="width:100%;float:left;" />
<br>
                    <!-- 회원출력 -->
<img src="http://www.ebakery.pe.kr/common/tpl/images/widget_bg.jpg" height="100" class="zbxe_widget_output" widget="member_group" body="" skin="default" colorset="normal" widget_cache="0" title="E-MEMBER" list_count="" target_group="" widget_margin_top="0" widget_margin_left="0" widget_margin_right="0" widget_margin_bottom="0" widget_fix_width="Y" widget_width="100" widget_width_type="%" widget_position="" widget_sequence="99" style="width:100%;float:left;" />
</td>
                    <!-- ############### 메뉴 생성 ############### -->
                    <!-- ############### 메뉴 생성 ############### -->
        <td width="24">&nbsp;</td>
      </tr>
      <tr>
        <td colspan="4">&nbsp;</td>
        </tr>
    </TABLE></td>
    <td width="644" colspan="2" valign="top"><TABLE width="636" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="9" rowspan="2">&nbsp;</td>
        <td>&nbsp;</td>
        <td width="12" rowspan="2">&nbsp;</td>
      </tr>
      <tr>
        <td valign="top">
        <!-- 컨텐츠 시작 -->
{$content}
&nbsp;</td>
        </tr>
    </TABLE></td>
  </tr>
</TABLE>
<TABLE width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td colspan="4" background="http://www.ebakery.pe.kr/layouts/ebakery/images/bottom.gif" /><TABLE width="827" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="12" rowspan="3"><img src="./images/bottom.gif" width="12" height="150" /></td>
        <td width="91">&nbsp;</td>
        <td width="697">&nbsp;</td>
        <td width="27">&nbsp;</td>
      </tr>
      <tr>
        <td height="95">&nbsp;</td>
        <td><span class="style1">서울특별시 ○○ 봉천 00동 000 - 00, 0층 (우)000-000 · (B)엔죠이베이커리 · Tel 02) 000 - 0000 · Fax 02) 000 - 0000<br>
      사업자등록번호 : 000 - 00 - 00000 · 통신판매 : 00 - 00000 · 부가통신사업자 : 0000 · 대표이사 정석현
        </span>          <p class="style1">Copyright (c) 2007 Ebakery All Rights Reserved ·<a href="mailto:ebakery@paran.com" class="style2">ebakery@paran.com</a></td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
    </TABLE></td>
  </tr>
</TABLE>
<!--GNB-->
<!--상단 자동 매뉴 1차-->
<map name="Map">
      <!-- main_menu 1차 시작 -->
      <!--@foreach($main_menu->list as $key => $val)--><!--@if($val['text'])-->
   {@ $sCount += 1}
   <!--@if($val['selected'])-->
       {@ $menu_1st = $val }
   <!--@end-->
  
    <!--@if($sCount == 1)-->
     <area shape="rect" coords="55,46,90,72" href="{$val['href']}" <!--@if($val['open_window']=='Y')-->onclick="window.open(this.href);return false;"<!--@end-->>
    <!--@end-->
   
    <!--@if($sCount == 2)-->
     <area shape="rect" coords="96,44,157,71" href="{$val['href']}" <!--@if($val['open_window']=='Y')-->onclick="window.open(this.href);return false;"<!--@end-->>
    <!--@end-->   
    <!--@if($sCount == 3)-->
     <area shape="rect" coords="162,48,213,72" href="{$val['href']}" <!--@if($val['open_window']=='Y')-->onclick="window.open(this.href);return false;"<!--@end-->>
    <!--@end-->
    <!--@if($sCount == 4)-->
     <area shape="rect" coords="221,45,269,73" href="{$val['href']}" <!--@if($val['open_window']=='Y')-->onclick="window.open(this.href);return false;"<!--@end-->>
    <!--@end-->
    <!--@if($sCount == 5)-->
     <area shape="rect" coords="278,45,326,72" href="{$val['href']}" <!--@if($val['open_window']=='Y')-->onclick="window.open(this.href);return false;"<!--@end-->>
    <!--@end-->
    <!--@if($sCount == 6)-->
     <area shape="rect" coords="333,44,376,74" href="{$val['href']}" <!--@if($val['open_window']=='Y')-->onclick="window.open(this.href);return false;"<!--@end-->>
    <!--@end-->
      <!--@end--><!--@end-->
      <!-- main_menu 1차 끝 -->
 </map>
<!--//GNB-->
 
 
 
상기 첨부된 이미지 처럼 상단에 흰색 여백
 
 
 
 
 
이 생기는 문제 해결해 주십시요.
 
 
 
 
 
 
 
5만 포인트 겁니다.

첨부파일

error.gif (2.3 MB)
3회 2007-10-21 16:58
|

댓글 9개

<body topmargin="0" leftmargin="0" >
먼 말이죠??

소스 보시면--; 바디 태그가 안들갓는데;;

아무데나 삽입해 보면 역시 똑 같이 공백 뜹니다. 소스 보시고 원인과 해결책 제시 부탁 드립니다 ㅠㅠ
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="ko" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="generator" content="zeroboard xe (http://www.zeroboard.com)" />
<meta name="module" content="page" />
<meta name="layout" content="ebakery *zerobbs32* (ebakery)" />
<meta http-equiv="imagetoolbar" content="no" />
<title>Enjoy Bakery</title>
<script type="text/javascript" src="/files/cache/optimized/1f1d9e24da240aa7e33cf94e0408bc2b.js.php"></script>

<link rel="stylesheet" href="/common/css/button.css" type="text/css" />
<link rel="stylesheet" href="/files/cache/optimized/18c188f7f3602945f8427626a7fe42bc.css.php" type="text/css" />
<script type="text/javascript">//<![CDATA[
var current_url = "";
var request_uri = "http://ebakery.pe.kr/";
var current_mid = "ebakery";
var wating_message = "서버에 요청중입니다. 잠시만 기다려주세요.";
//]]></script>


<link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://ebakery.pe.kr/ebakery/api" />
</head>
<body>
body에 해당 코드를 넣어줘야 되요~
넣어도 똑같습니다--; ㅠㅠ
상단 여백--;
음 암튼 감사 드립니다--; 백업본 잇엇네요--;

백업 본 소스 내용

<!-- Doctype 파일을 가져옵니다. -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"./layouts/ebakery/TR/html4/loose.dtd">
<!-- css 파일을 가져옵니다. -->
<!--%import("/css/ebakery.css")-->
<!-- js 파일을 가져옵니다. -->
<!--%import("/js/ebakery.js")-->


<TABLE width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="4" background="http://ebakery.pe.kr/layouts/ebakery/images/center_line.gif"><TABLE width="200" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><a href="{$layout_info->index_url}"><img src="{$layout_info->logo_image}" width="293" height="76"></a></td>
<td colspan="3"><img src="./images/menu.gif" width="535" height="76" border="0" usemap="#Map" /></td>
</tr>
<tr>
<td><img src="./images/center_01.gif" width="293" height="222"></td>
<td colspan="3"><img src="./images/center_02.gif" width="535" height="222" /></td>
</tr>
</TABLE></td>
</tr>
</TABLE>
<TABLE width="828" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="2" valign="top"><TABLE width="191" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="4">&nbsp;</td>
</tr>
<tr>
<td width="28">&nbsp;</td>
<!-- ############### 메뉴 생성 ############### -->
<!-- ############### 메뉴 생성 ############### -->
<!-- 로그인 위젯 -->
<td colspan="2" valign="top"><img width="100%" height="100" src="http://ebakery.pe.kr/common/tpl/images/widget_bg.jpg" class="zbxe_widget_output" style="clear:both;" widget="login_info" skin="Mac_Logo" colorset="orange" widget_cache="0" widget_margin_top="" widget_margin_left="" widget_margin_right="" widget_margin_bottom="" widget_fix_width="" widget_width="50" widget_width_type="%" widget_position="" widget_sequence="138" />
<br>

아무래도--; 소스 수정중에 역시 제가 잘못 해서 여백 생긴 것이엇습니다. 쿨럭
100포인트 거셨네요. --;
포인트 보호를 위하여.. 완벽한 답변후에 주고 잇거든요--;
바디 시작하는부분에 이렇게 삽입하시고..레프트마진,탑마진 ,위스,하이트 모두 영으로주세요.
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
이미지가 들어가는부분이나 내용이 들어가는 부분을 테이블로 가정하였을때.
삽입해주세요..셀페딩과 셀스페싱
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><img src="이미지">혹은 내용</td>
</tr>
</table>
확실하게 고쳐질껍니다.
댓글을 작성하시려면 로그인이 필요합니다. 로그인

그누4 질문답변

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

+
제목 글쓴이 날짜 조회
18년 전 조회 1,529
18년 전 조회 1,546
18년 전 조회 1,636
18년 전 조회 1,522
18년 전 조회 1,508
18년 전 조회 1,640
18년 전 조회 1,515
18년 전 조회 2,396
18년 전 조회 1,512
18년 전 조회 1,573
18년 전 조회 1,573
18년 전 조회 1,568
18년 전 조회 1,526
18년 전 조회 1,451
18년 전 조회 1,521
18년 전 조회 1,403
18년 전 조회 1,689
18년 전 조회 1,937
18년 전 조회 1,553
18년 전 조회 1,576
🐛 버그신고