덧글과 덧글 사이에 줄로 구분하고 싶은데요. 정보
덧글과 덧글 사이에 줄로 구분하고 싶은데요.본문
http://sir.co.kr/bbs/board.php?bo_table=g4_skin&wr_id=90682&sca=&sfl=wr_subject&stx=%BD%CE%C0%CC&sop=and
위 링크의 스킨자료실의 자바때기님의 방명록 스킨을 검은색으로 바꿔서 사용할려고 하는데요.
첨부한 이미지와 같이 덧글과 덧글 사이에 구분이 없어서 가는 선으로 구분하고 싶습니다.
이것저것 해보는데 왕초보라 도저히 못넣겠네요 OTL
아래 부분 어딘가 있는거 같은데, 어디를 어떻게 수정해야할지 도와주세요 ;ㅅ;
<?
// 코멘트(댓글)
}else{
$totalCount++;
?>
<tr align=left bgColor="#202020">
<td colspan="6" style="padding-left : 5px;">
<span id="comment_<?= $list_id?>">
<?
if(strlen($list[$i][wr_reply]) > 1){
echo $list[$i][reply];
echo $list[$i][icon_reply];
}
?>
<span class="c_name"><NOBR><?=$list[$i][name]?></NOBR></span> :
<?= ($list[$i][wr_content])?> <span class="c_date">(<?=$list[$i][datetime]?>)</span>
<a href="javascript:list_box('<?=$list_id?>', 'r');" title="이 댓글에 댓글달기" class="bbs">
<img src="<?=$board_skin_path?>/img/btn_reply.gif" title="이 댓글에 댓글달기" border="0" align="absmiddle">
</a>
<? if (($member[mb_id] && ($member[mb_id] == $list[$i][mb_id])) || $is_admin) { ?>
<a href="javascript:list_box('<?=$list_id?>', 'u');" style="padding-right:2px; ">
<img src="<?=$board_skin_path?>/img/btn_edit.gif" title="수정" border="0" align="absmiddle">
</a>
<a href="javascript:if (confirm('삭제하시겠습니까?')) { location='./delete.php?w=d&bo_table=<?=$bo_table?>&wr_id=<?=$list[$i][wr_id]?>&page=<?=$page?>';}">
<img src="<?=$board_skin_path?>/img/btn_del.gif" title="삭제" border="0" align="absmiddle">
</a>
</span>
<? } ?>
</td>
</tr>
<?
$Display = "none";
?>
<tr bgColor="#404040">
<td colspan="6" class="bbs_pp">
<img id='save_emoticon_<?=$list_id?>' style='display:<?= $Display ?>;' border="0" src="<?=$board_skin_path?>/emoticons/<?=$list[$i][subject]?>.gif">
<textarea class="bbs_ft" id='save_content_<?=$list_id?>' type=text style='display:<?= $Display ?>;width:100%;height:60; padding:4;'><?= $list[$i][wr_content]?></textarea>
<span id='reply_<?=$list_id?>' style='display:<?= $Display ?>; width:100%; padding:5;'></span><!-- 답변 -->
<span id='edit_<?=$list_id?>' style='display:<?= $Display ?>; width:100%; padding:5;'></span><!-- 수정 -->
</td>
</tr>
<? } ?>
<?
$wr_num = $list[$i][wr_num];
}
?>
<? if (count($list) == 0) { ?>
<tr><td height="100" align="center">게시물이 없습니다.</td></tr>
<? } ?>
</table>
위 링크의 스킨자료실의 자바때기님의 방명록 스킨을 검은색으로 바꿔서 사용할려고 하는데요.
첨부한 이미지와 같이 덧글과 덧글 사이에 구분이 없어서 가는 선으로 구분하고 싶습니다.
이것저것 해보는데 왕초보라 도저히 못넣겠네요 OTL
아래 부분 어딘가 있는거 같은데, 어디를 어떻게 수정해야할지 도와주세요 ;ㅅ;
<?
// 코멘트(댓글)
}else{
$totalCount++;
?>
<tr align=left bgColor="#202020">
<td colspan="6" style="padding-left : 5px;">
<span id="comment_<?= $list_id?>">
<?
if(strlen($list[$i][wr_reply]) > 1){
echo $list[$i][reply];
echo $list[$i][icon_reply];
}
?>
<span class="c_name"><NOBR><?=$list[$i][name]?></NOBR></span> :
<?= ($list[$i][wr_content])?> <span class="c_date">(<?=$list[$i][datetime]?>)</span>
<a href="javascript:list_box('<?=$list_id?>', 'r');" title="이 댓글에 댓글달기" class="bbs">
<img src="<?=$board_skin_path?>/img/btn_reply.gif" title="이 댓글에 댓글달기" border="0" align="absmiddle">
</a>
<? if (($member[mb_id] && ($member[mb_id] == $list[$i][mb_id])) || $is_admin) { ?>
<a href="javascript:list_box('<?=$list_id?>', 'u');" style="padding-right:2px; ">
<img src="<?=$board_skin_path?>/img/btn_edit.gif" title="수정" border="0" align="absmiddle">
</a>
<a href="javascript:if (confirm('삭제하시겠습니까?')) { location='./delete.php?w=d&bo_table=<?=$bo_table?>&wr_id=<?=$list[$i][wr_id]?>&page=<?=$page?>';}">
<img src="<?=$board_skin_path?>/img/btn_del.gif" title="삭제" border="0" align="absmiddle">
</a>
</span>
<? } ?>
</td>
</tr>
<?
$Display = "none";
?>
<tr bgColor="#404040">
<td colspan="6" class="bbs_pp">
<img id='save_emoticon_<?=$list_id?>' style='display:<?= $Display ?>;' border="0" src="<?=$board_skin_path?>/emoticons/<?=$list[$i][subject]?>.gif">
<textarea class="bbs_ft" id='save_content_<?=$list_id?>' type=text style='display:<?= $Display ?>;width:100%;height:60; padding:4;'><?= $list[$i][wr_content]?></textarea>
<span id='reply_<?=$list_id?>' style='display:<?= $Display ?>; width:100%; padding:5;'></span><!-- 답변 -->
<span id='edit_<?=$list_id?>' style='display:<?= $Display ?>; width:100%; padding:5;'></span><!-- 수정 -->
</td>
</tr>
<? } ?>
<?
$wr_num = $list[$i][wr_num];
}
?>
<? if (count($list) == 0) { ?>
<tr><td height="100" align="center">게시물이 없습니다.</td></tr>
<? } ?>
</table>
댓글 전체
php 코드는
다음부터 소스올리실땐 저 소스위아래로
----------------------------------------------------------------------------------------
올려주신소스의 윗라인기준으로
<?
// 코멘트(댓글)
}else{
$totalCount++;
?>
<tr align=left bgColor="#202020">
<td colspan="6" style="padding-left : 5px;">
-------------------------------------------
요 부분에서 style="padding-left : 5px;border-bottom:1px solid #eee;">
로 변경해보세요
...
로 감싸주시면 syntax highlight 됩니다.
다음부터 소스올리실땐 저 소스위아래로
와
로 감싸주시면 예쁘게 보입니다^^
----------------------------------------------------------------------------------------
올려주신소스의 윗라인기준으로
<?
// 코멘트(댓글)
}else{
$totalCount++;
?>
<tr align=left bgColor="#202020">
<td colspan="6" style="padding-left : 5px;">
-------------------------------------------
요 부분에서 style="padding-left : 5px;border-bottom:1px solid #eee;">
로 변경해보세요
감사합니다^^ 잘되네요. 다음에 소스올릴때는 주의하겠습니다^^