아예 소스를 첨부합니다. 정보
그누보드 아예 소스를 첨부합니다.
본문
다른 스킨은 다 됐는데
이상하게 요넘만 게시물 내용을 보면 테이블이 오른쪽으로 넘어가버립니다.
왼쪽 정렬을 하고픈데 잘 안되네요.
보시고 수정좀 해주세요.
----------------------------------------------------------------------------------------------
<!-- 원글 내용 -->
<table width="95%" border=0 align=left cellpadding=0 cellspacing=0> <!-- 레프트 수정 원래 센터였엄 -->
<tr><td align="left" height=30><b> <font color="#0033CC"> <?=$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"> 이름 : <?=$name?> (<?=$ip?>) 조회 : <?=$write[wr_hit]?></td><td width=50% height="23" align="right"> 날짜 : <?=$write[wr_datetime]?></td></tr>
<?
// 링크 설정한 값만큼 출력
for ($i=1; $i<=$cfg[link_count]; $i++) {
if ($link[$i][link]) { echo "<tr><td> 링크{$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> 분류 : $category_name</td></tr>"; } ?>
<? if ($is_good) { echo "<tr><td> 추천 : $write[wr_good]</td></tr>"; } ?>
<? if ($is_nogood) { echo "<tr><td> 비추천 : $write[wr_nogood]</td></tr>"; } ?>
<!--/*<?
// 파일 업로드 설정한 값만큼 출력
for ($i=1; $i<=$cfg[file_count]; $i++) {
if ($file[$i][source]) { echo "<tr><td> 다운로드 #{$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> <?=$list[$i][wr_name]?> (<?=$list[$i][ip]?>) <? if ($list[$i][is_del]) { echo "{$list[$i][del_href]}<img src='$board_skin/com_del.gif' border=0 align=absmiddle></a> "; } ?></td><td align=right><?=$list[$i][datetime]?> </td>
</tr>
<tr>
<td valign=top colspan=2>
<table width=100% cellpadding=7 cellspacing=0>
<tr>
<td class='comment'><?=$list[$i][content]?> </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> 이름 : <?=preg_replace("/class=input/", "class=ib", $c_name)?>
<? 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> </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> </td>
<td></td>
</tr>
<tr>
<td width=70% height=25>
<? 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>"; } ?>
</td>
</tr>
</table>
-------------------------------------------------------------------------------------------------
이상하게 요넘만 게시물 내용을 보면 테이블이 오른쪽으로 넘어가버립니다.
왼쪽 정렬을 하고픈데 잘 안되네요.
보시고 수정좀 해주세요.
----------------------------------------------------------------------------------------------
<!-- 원글 내용 -->
<table width="95%" border=0 align=left cellpadding=0 cellspacing=0> <!-- 레프트 수정 원래 센터였엄 -->
<tr><td align="left" height=30><b> <font color="#0033CC"> <?=$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"> 이름 : <?=$name?> (<?=$ip?>) 조회 : <?=$write[wr_hit]?></td><td width=50% height="23" align="right"> 날짜 : <?=$write[wr_datetime]?></td></tr>
<?
// 링크 설정한 값만큼 출력
for ($i=1; $i<=$cfg[link_count]; $i++) {
if ($link[$i][link]) { echo "<tr><td> 링크{$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> 분류 : $category_name</td></tr>"; } ?>
<? if ($is_good) { echo "<tr><td> 추천 : $write[wr_good]</td></tr>"; } ?>
<? if ($is_nogood) { echo "<tr><td> 비추천 : $write[wr_nogood]</td></tr>"; } ?>
<!--/*<?
// 파일 업로드 설정한 값만큼 출력
for ($i=1; $i<=$cfg[file_count]; $i++) {
if ($file[$i][source]) { echo "<tr><td> 다운로드 #{$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> <?=$list[$i][wr_name]?> (<?=$list[$i][ip]?>) <? if ($list[$i][is_del]) { echo "{$list[$i][del_href]}<img src='$board_skin/com_del.gif' border=0 align=absmiddle></a> "; } ?></td><td align=right><?=$list[$i][datetime]?> </td>
</tr>
<tr>
<td valign=top colspan=2>
<table width=100% cellpadding=7 cellspacing=0>
<tr>
<td class='comment'><?=$list[$i][content]?> </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> 이름 : <?=preg_replace("/class=input/", "class=ib", $c_name)?>
<? 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> </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> </td>
<td></td>
</tr>
<tr>
<td width=70% height=25>
<? 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>"; } ?>
</td>
</tr>
</table>
-------------------------------------------------------------------------------------------------
댓글 전체
헉~ 그런뜻이 아니었는데........
전 단지 table 태그에 align 속성이 있다는 사실을.........ㅠ.ㅠ
제가 건방을 떨었다면 너그러이 용서를......^^
행복한 시간되세요.
전 단지 table 태그에 align 속성이 있다는 사실을.........ㅠ.ㅠ
제가 건방을 떨었다면 너그러이 용서를......^^
행복한 시간되세요.
헛....table 전체를 정렬하고자 할때 align속성 사용하는데요.ㅋ
재민님이 잠시 착각을 하신듯 ^^
즐거운 시간되세요.
재민님이 잠시 착각을 하신듯 ^^
즐거운 시간되세요.
table 안에 align 속성이 붙는다는건 처음들어봅니다
td 나 tr 이면모를까 ^^;
td 나 tr 이면모를까 ^^;

이룬... left로 맞춰야 하구 테이블보드 크기가 95% 되어있는데 이걸 제 가 설정하고픈 크기 750으로
맞추니 되네욤;;; ㅡㅡ;
맞추니 되네욤;;; ㅡㅡ;

헉스...감사합니다. ㅜㅜ 제가 해보구 리플 달아 볼께요
찾았습니다.
테이블 제일상단에 align=left 가 들어가면 아니되옵니다 ^.^
열받아서 모든 소스 하나씩 지워가며 테스트 해본바입니다. ㅠ.ㅠ
테이블 제일상단에 align=left 가 들어가면 아니되옵니다 ^.^
열받아서 모든 소스 하나씩 지워가며 테스트 해본바입니다. ㅠ.ㅠ

ㅡㅡ; 헉... 제가 수정한거라곤 소스에서 보이듯이 2군데 밖에 수정한 곳이 없습니다 ;;;
소스를 모두다 뜯어 보았습니다.
소스상엔 정상이였지만.. 역시나 그림과 같이 나오더군요
처음부터 다시금 제작하시는게 옳다 생각됩니다.
소스상엔 정상이였지만.. 역시나 그림과 같이 나오더군요
처음부터 다시금 제작하시는게 옳다 생각됩니다.

아...제가 홈피 등록해놨었네요.
즐겨찾기 메뉴의 들어가시면 게시물이 나오잖아요.
그거 클릭해서 들어가보시면 알 수 있어요.
즐겨찾기 메뉴의 들어가시면 게시물이 나오잖아요.
그거 클릭해서 들어가보시면 알 수 있어요.
주소가 어떻게 되죠??
님의 홈페이지 가ㅤㅂㅗㅆ는데.. 게시판들이 모두 님이 원하시는데로 나오던데요...?
님의 홈페이지 가ㅤㅂㅗㅆ는데.. 게시판들이 모두 님이 원하시는데로 나오던데요...?
착각이 아니라.. 디자인하는사람마다 각기 차이점인가봅니다 ^^
제가 오운현님보다 덜 아는듯 하군요
^__________^/
제가 오운현님보다 덜 아는듯 하군요
^__________^/