아예 소스를 첨부합니다. > 그누3질답

그누3질답

아예 소스를 첨부합니다. 정보

그누보드 아예 소스를 첨부합니다.

본문

다른 스킨은 다 됐는데
이상하게 요넘만 게시물 내용을 보면 테이블이 오른쪽으로 넘어가버립니다.

왼쪽 정렬을 하고픈데 잘 안되네요.

보시고 수정좀 해주세요.

----------------------------------------------------------------------------------------------

<!-- 원글 내용 -->

<table width="95%" border=0 align=left cellpadding=0 cellspacing=0> <!-- 레프트 수정 원래 센터였엄 -->

<tr><td align="left" height=30><b>&nbsp;&nbsp;<font color="#0033CC">&nbsp;<?=$subject?></font></b></td>

        <td></td>

</tr>

<tr><td colspan=2 height=1 bgcolor=#EAE8E8></td>

    </tr>

<tr>

    <td>

        <table cellpadding=3 cellspacing=1 width=100% height=100%>

        <tr><td width=50% height="23" align="left">&nbsp;이름 : <?=$name?> &nbsp;(<?=$ip?>)&nbsp;조회 : <?=$write[wr_hit]?></td><td width=50% height="23" align="right">&nbsp;날짜 : <?=$write[wr_datetime]?></td></tr>
        <?

        // 링크 설정한 값만큼 출력

        for ($i=1; $i<=$cfg[link_count]; $i++) {

            if ($link[$i][link]) { echo "<tr><td>&nbsp;링크{$i} : <a href='{$link[$i][href]}' target='$default[de_link_target]'>{$link[$i][link]}</a>, Hit:{$link[$i][hit]}</td></tr>"; }

        }

        ?>



        <? if ($is_category) { echo "<tr><td>&nbsp;분류 : $category_name</td></tr>"; } ?>

        <? if ($is_good) { echo "<tr><td>&nbsp;추천 : $write[wr_good]</td></tr>"; } ?>

        <? if ($is_nogood) { echo "<tr><td>&nbsp;비추천 : $write[wr_nogood]</td></tr>"; } ?>




        <!--/*<?

        // 파일 업로드 설정한 값만큼 출력

        for ($i=1; $i<=$cfg[file_count]; $i++) {

            if ($file[$i][source]) { echo "<tr><td>&nbsp;다운로드 #{$i} : <a href='{$file[$i][href]}'>{$file[$i][source]} ({$file[$i][size]})</a>, Down:{$file[$i][download]}</td></tr>"; }

        }

        ?>*/--//-->



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

  <tr><td colspan=2 height=1 bgcolor=#EAE8E8></td></tr>

  <tr>
    <td>
        <table width=100% cellpadding=5>
  <tr>
    <td style='word-break:break-all;' class='lh' height=100>



                <?

                for ($i=1; $i<=$cfg[file_count]; $i++) {

                    if ($file[$i][view]) { echo $file[$i][view]; }

                }

                ?>



                <!-- 내용 출력 -->

                <SPAN class=content><?=$content?></SPAN>



                <? if ($board[bo_use_signature]) { echo $signature; } // 서명 출력 ?>



                <!-- 테러 태그 방지용 -->

                </xml></xmp>

<!--- 소스숨기기... 이넘의 것이 날 힘들게 하는군         
            </td>

        </tr>

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

--->





<? if ($is_comment) { ?>
    <!-- 코멘트 내용 -->
    <? for ($i=0; $i<count($list); $i++) { ?>
    <a name='c<?=$list[$i][wr_id]?>'></a>

    <table width=<?=$width?> border=0 align=center cellpadding=0 cellspacing=0>
    <tr>
        <td height=25>&nbsp;&nbsp;<?=$list[$i][wr_name]?>&nbsp;(<?=$list[$i][ip]?>)&nbsp;<? if ($list[$i][is_del]) { echo "{$list[$i][del_href]}<img src='$board_skin/com_del.gif' border=0 align=absmiddle></a>&nbsp;"; } ?></td><td align=right><?=$list[$i][datetime]?>&nbsp;&nbsp;</td>
    </tr>
    <tr>
        <td valign=top colspan=2>
            <table width=100% cellpadding=7 cellspacing=0>
            <tr>
                <td class='comment'><?=$list[$i][content]?>&nbsp;</td>
            </tr>
            </table>
        </td>
    </tr>
    <tr><td colspan=2 height=1 bgcolor=#DADADA></td></tr>
    </table><br>
    <? } // for ?>

    <? if ($is_comment_write) { ?>
    <!-- 코멘트 쓰기 -->
    <table width=<?=$width?> align=center cellpadding=10 cellspacing=0 border=0 bgcolor=#F5F5F5>
    <form name=fgbview method=post action='./?doc=bbs/gbupdate.php'>
    <input type=hidden name=w        value='c'>
    <input type=hidden name=bo_table value='<?=$bo_table?>'>
    <input type=hidden name=sselect  value='<?=$sselect?>' >
    <input type=hidden name=stext    value='<?=$stext?>'>
    <input type=hidden name=wr_id    value='<?=$wr_id?>'>
    <input type=hidden name=page    value='<?=$page?>'>
    <input type=hidden name=section  value='<?=$section?>'>
    <tr>
        <td align=center>
            <table width=100% cellpadding=0 cellspacing=0 bgcolor=#FFFFFF border=0>
                <tr>
                    <td height=35>&nbsp;&nbsp;이름 : <?=preg_replace("/class=input/", "class=ib", $c_name)?>&nbsp;&nbsp;
                    <? if ($is_guest) { ?>
                    비밀번호 : <input type=password name=wr_passwd size=10 class=ib required itemname='비밀번호'></td>
                    <? } ?>
                    <td align=right><a href='javascript:textarea_size(document.fgbview.wr_content, 5)'><img src='<?=$board_skin?>/icon_down.gif' border=0 align=absmiddle></a> <a href='javascript:textarea_size(document.fgbview.wr_content, -5)'><img src='<?=$board_skin?>/icon_up.gif' border=0 align=absmiddle></a>&nbsp;&nbsp;&nbsp;</td>
                </tr>
                <tr>
                    <td colspan=2 align=center>
                        <table width=98% cellpadding=0 cellspacing=0>
                            <tr><td><textarea name=wr_content style='width:100%; line-height:150%;' rows=5 required itemname='내용' class=textarea></textarea></td><td width=64><input type=image src='<?="$board_skin/btncomment.gif"?>' border=0 align=absmiddle></td></tr>
                            <tr><td colspan=2 height=5></td></tr>
                        </table>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
    </form>
    </table><br>
    <? } // if ?>

<? } // if ?>


<!-- 링크 -->

<table width=<?=$width?> align=center border=0 cellpadding=0 cellspacing=0>

<tr><td colspan=2 height=1 bgcolor=#EAE8E8></td>

    </tr>

<td>&nbsp;</td>

    <td></td>

</tr>

<tr>

    <td width=70% height=25>

        &nbsp;&nbsp; <? if ($search_href) { echo "<a href=\"$search_href\"><img src='$board_skin/searchlist.gif' border=0 alt='검색목록'></a>"; } ?>

        <? echo "<a href=\"$list_href\"><img src='$board_skin/list.gif' border=0 alt='목록'></a>"; ?>



        <? if ($write_href) { echo "<a href=\"$write_href\"><img src='$board_skin/write.gif' border=0 alt='글쓰기'></a>"; } ?>

        <? if ($reply_href) { echo "<a href=\"$reply_href\"><img src='$board_skin/reply.gif' border=0 alt='답변'></a>"; } ?>



        <? if ($update_href) { echo "<a href=\"$update_href\"><img src='$board_skin/edit.gif' border=0 alt='수정'></a>"; } ?>

        <? if ($delete_href) { echo "<a href=\"$delete_href\"><img src='$board_skin/delete.gif' border=0 alt='삭제'></a>"; } ?>



        <? if ($good_href) { echo "<a href=\"$good_href\"><img src='$board_skin/good.gif' border=0 alt='추천'></a>"; } ?>

        <? if ($nogood_href) { echo "<a href=\"$nogood_href\"><img src='$board_skin/nogood.gif' border=0 alt='비추천'></a>"; } ?>


    </td>

    <td width=30% align=right>

        <? if ($prev_href) { echo "<a href=\"$prev_href\" title=\"$prev_wr_subject\"><img src='$board_skin/prev.gif' border=0 alt='이전글'></a>"; } ?><? if ($next_href) { echo "<a href=\"$next_href\" title=\"$next_wr_subject\"><img src='$board_skin/next.gif' border=0 alt='다음글'></a>"; } ?>

            &nbsp;&nbsp;&nbsp;


    </td>

</tr>

</table>
-------------------------------------------------------------------------------------------------
  • 복사

댓글 전체

헉~ 그런뜻이 아니었는데........

전 단지 table 태그에 align 속성이 있다는 사실을.........ㅠ.ㅠ

제가 건방을 떨었다면 너그러이 용서를......^^

행복한 시간되세요.
찾았습니다.

테이블 제일상단에 align=left 가 들어가면 아니되옵니다 ^.^

열받아서 모든 소스 하나씩 지워가며 테스트 해본바입니다. ㅠ.ㅠ
소스를 모두다 뜯어 보았습니다.
소스상엔 정상이였지만.. 역시나 그림과 같이 나오더군요
처음부터 다시금 제작하시는게 옳다 생각됩니다.
아...제가 홈피 등록해놨었네요.
즐겨찾기 메뉴의 들어가시면 게시물이 나오잖아요.
그거 클릭해서 들어가보시면 알 수 있어요.
© SIRSOFT
현재 페이지 제일 처음으로