하얀색 배경을 없애고싶은데.. 이것저것 해봐도.. 투명하게 안되네요..ㅠ > 그누4 질문답변

그누4 질문답변

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

하얀색 배경을 없애고싶은데.. 이것저것 해봐도.. 투명하게 안되네요..ㅠ 정보

하얀색 배경을 없애고싶은데.. 이것저것 해봐도.. 투명하게 안되네요..ㅠ

본문

<?
$g4_path = '../gnuboard4';
include("$g4_path/common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>


<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr" />
<title>이지세무회계사무소</title>

<style type="text/css">
<!--
#Layer1 {
 position:absolute;
 left:0px;
 top:64px;
 width:986px;
 height:39px;
 z-index:100;
 visibility: visible;
}
#Layer2 {
 position:absolute;
 left:0px;
 top:363px;
 width:269px;
 height:198px;
 z-index:101;
 visibility: visible;
}
#Layer3 {
 position:absolute;
 left:267px;
 top:363px;
 width:578px;
 height:172px;
 z-index:102;
 visibility: visible;
}
body {
 background-color: #f2f2ea;
 margin-left: 0px;
 margin-top: 0px;
 margin-right: 0px;
 margin-bottom: 0px;
}
-->
</style>


<script language=JavaScript src="../include/embed.js"></script>
<script src="../include/link.js"></script>

 

</head>

<body>
<div id="Layer1">
  <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="982" height="64">
    <param name="movie" value="../flash/main_navi.swf" />
    <param name="quality" value="high" />
    <param name="wmode" value="transparent" />
    <embed src="../flash/main_navi.swf" width="982" height="64" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed>
  </object>
</div>
<div id="Layer2"><img src="main_images/img_05.jpg" width="267" height="202" /></div>
<div id="Layer3"><img src="main_images/img_06.jpg" width="715" height="202" /></div>
<table width="982" align="left" cellpadding="0" cellspacing="0" bgcolor="#f2f2ea">
  <tr>
    <td><table width="982" cellspacing="0" cellpadding="0">
      <tr>
        <th scope="col"><img src="main_images/img_01.jpg" width="281" height="59" border="0" usemap="#Map3" />
          <map name="Map3" id="Map3">
            <area shape="rect" coords="17,13,279,45" href="http://www.2ztax.com" />
          </map>
          </th>
        <th scope="col"><img src="main_images/img_02.jpg" width="579" height="59" /></th>
        <th scope="col"><img src="main_images/img_03.jpg" width="122" height="59" border="0" usemap="#Map2" /></th>
      </tr>
    </table>
      <table width="982" height="41" cellpadding="0" cellspacing="0">
        <tr>
          <th scope="col"> </th>
        </tr>
      </table>
      <table width="982" cellspacing="0" cellpadding="0">
        <tr>
          <th valign="top" scope="col"><table width="982" height="461" cellspacing="0" cellpadding="0">
            <tr>
              <th scope="col"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="982" height="274" align="top">
                <param name="movie" value="../flash/top.swf" />
                <param name="quality" value="high" />
                <param name="wmode" value="transparent" />
                <embed src="../flash/top.swf" width="982" height="274" align="top" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed>
              </object>
                <table width="982" height="187" cellpadding="0" cellspacing="0">
                  <tr>
                    <th scope="col"> </th>
                  </tr>
                </table></th>
            </tr>
          </table></th>
        </tr>
      </table>
      <table width="982" cellspacing="0" cellpadding="0">
        <tr>
          <th width="267" scope="col"><img src="main_images/img_07.jpg" width="267" height="126" border="0" usemap="#Map4" />
            <map name="Map4" id="Map4">
              <area shape="rect" coords="122,59,183,73" href="../sub02/sub_03.html" />
              <area shape="rect" coords="220,59,264,74" href="../sub02/sub_04.html" />
              <area shape="rect" coords="124,76,165,93" href="../sub02/sub_05.html" />
              <area shape="rect" coords="21,27,145,46" href="../sub02/sub_03.html" />
            </map>
          </th>
          <th width="344" scope="col"><img src="main_images/img_08.jpg" width="344" height="126" border="0" usemap="#Map5" />
            <map name="Map5" id="Map5">
              <area shape="rect" coords="37,14,127,120" href="../sub01/sub_02.html" />
              <area shape="rect" coords="143,14,229,119" href="../sub03/sub_06.html" />
              <area shape="rect" coords="252,14,339,119" href="../sub04/sub_09.html" />
            </map>
          </th>
          <th width="100%" scope="col">
            <table width="330" height="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <th scope="col">
<?
    echo latest("basic", "info", 3,10);
   ?>
   </th>
              </tr>
            </table></th>
        </tr>
      </table>
      <table width="982" cellspacing="0" cellpadding="0">
        <tr>
          <th scope="col"><img src="main_images/img_10.jpg" width="982"  border="0" usemap="#Map" /></th>
        </tr>
      </table>
      <table width="982" cellspacing="0" cellpadding="0">
        <tr>
          <th scope="col"><img src="main_images/img_11.jpg" width="982" border="0" /></th>
        </tr>
    </table></td>
  </tr>
</table>

<map name="Map" id="Map"><area shape="rect" coords="163,19,236,45" href="http://www.nts.go.kr/" target="_blank" />
<area shape="rect" coords="261,18,347,44" href="http://www.kacpta.or.kr/" target="_blank" />
<area shape="rect" coords="371,18,440,43" href="http://www.joseilbo.com/" target="_blank" />
<area shape="rect" coords="470,16,529,44" href="http://www.bai.go.kr/" target="_blank" />
<area shape="rect" coords="558,18,642,44" href="http://www.bai.go.kr/" target="_blank" />
<area shape="rect" coords="665,16,740,44" href="http://www.ntt.go.kr/" target="_blank" />
<area shape="rect" coords="771,18,842,43" href="http://www.ntt.go.kr/" target="_blank" />
<area shape="rect" coords="871,18,958,46" href="http://www.4insure.or.kr/" target="_blank" />
</map>
<map name="Map2" id="Map2"><area shape="rect" coords="2,37,43,56" href="http://www.2ztax.com" />
<area shape="rect" coords="60,40,109,55" href="../sub05/sub_15.html" />
</map></body>
</html>

메인페이지의 코딩입니다... 노란색으로 칠한부분이 메인페이지에 노출된 최신글게시판입니다...

음...제가 사용한 스킨의 코딩은...
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>

<!-- <?=$board[bo_subject]?> (<?=$board[bo_table]?>) 최신글 시작 -->
<style type="text/css">
<!--
a{text-decoration:none}
-->
</style>

<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
    <td width="29" height="38"><img src="<?=$latest_skin_path?>/img/board_title_left.gif" width="29" height="38"></td>
    <td background="<?=$latest_skin_path?>/img/board_title_bg.gif"><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><font style='font-family:돋움; font-size:9pt; color:#1e417b;'><strong><?=$board[bo_subject]?></strong></font></a> </td>
    <td width="60" align="right" background="<?=$latest_skin_path?>/img/board_title_bg.gif"><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><img src="<?=$latest_skin_path?>/img/board_more.gif" width="45" height="18" border="0"></a></td>
    <td width="19"><img src="<?=$latest_skin_path?>/img/board_title_right.gif" width="19" height="38"></td>
</tr>
</table>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<? for ($i=0; $i<count($list); $i++) { ?>
<tr>
    <td width="40" height="35" align="center" valign="middle" background="<?=$latest_skin_path?>/img/board_bg_line.gif"><img src="<?=$latest_skin_path?>/img/board_icon.gif" width="9" height="13"></td>
    <td background="<?=$latest_skin_path?>/img/board_bg_line.gif" style='word-break:break-all;'>
        <?
        echo $list[$i][icon_reply] . " ";
        echo "<a href='{$list[$i][href]}'>";
        if ($list[$i][is_notice])
            echo "<font style='font-family:돋움; font-size:9pt; color:#2C88B9;'><strong>{$list[$i][subject]}</strong></font>";
        else
            echo "<font style='font-family:돋움; font-size:9pt; color:#6A6A6A;'>{$list[$i][subject]}</font>";
        echo "</a>";

        if ($list[$i][comment_cnt])
            echo " <a href=\"{$list[$i][comment_href]}\"><span style='font-family:돋움; font-size:8pt; color:#9A9A9A;'>{$list[$i][comment_cnt]}</span></a>";

        // if ($list[$i]['link']['count']) { echo "[{$list[$i]['link']['count']}]"; }
        // if ($list[$i]['file']['count']) { echo "<{$list[$i]['file']['count']}>"; }

        echo " " . $list[$i][icon_new];
        echo " " . $list[$i][icon_file];
        echo " " . $list[$i][icon_link];
        echo " " . $list[$i][icon_hot];
        echo " " . $list[$i][icon_secret];
        ?>
    </td>
</tr>
<? } ?>

<? if (count($list) == 0) { ?>
<tr><td colspan=2 align=center height=30 background="<?=$latest_skin_path?>/img/board_bg_line.gif">게시물이 없습니다.</td></tr>
<? } ?>
</table>

</td></tr></table>
<!-- <?=$board[bo_subject]?> (<?=$board[bo_table]?>) 최신글 끝 -->

핑크색으로 칠한부분에 transparency을 넣어봤는데.. 전체배경까지 하얗게 되어버리더라구요...
메인페이지에서도 해보고... 별짓을 다해봤지만.. 하얀색 배경은 안사라지네요..ㅠㅠ
사이트주소: http://www.2ztax.com
메인에 출력되는 최신글 게시판의 흰배경을 투명하게 하고 싶어요...ㅠㅠ
도와주세요~ㅠ


댓글 전체

처음 답변 해 봅니다.
저도 그런 경우가 많았습니다. 자세히 보지 않아 모르겠으나
스킨의  board_bg_line.gif 가 배경으로 잡혀있는 듯 합니다. 그 이미지 부분을 삭제하거나 수정해 보세요. 그것도 원인일 수 있습니다.
감사합니다~
좋아님 답변에 힌트를얻어~ 파일들 열어서 보니.. gif로.. 투명배경처리되어있는줄 알았는데.. 흰색배경으로 되어있네요....ㅎ
투명처리해서~ 수정했어요^^ 감사합니다~
전체 66,554 |RSS
그누4 질문답변 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1402호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT