메모장 스킨을 사용중인데, 댓글 부분만 색깔을 다르게 하고 싶습니다.. 정보
메모장 스킨을 사용중인데, 댓글 부분만 색깔을 다르게 하고 싶습니다..본문
http://sir.co.kr/bbs/board.php?bo_table=g4_skin&wr_id=22690&sca=&sfl=wr_subject||wr_content&stx=%EB%A9%94%EB%AA%A8&sop=and&page=10
이 메모장 스킨인데요.
댓글부분의 글씨색만 다르게 하거나,
그 셀 부분만 색깔을 다르게 주고 싶습니다.
리스트 스킨을 봐도 뭘 건드려야 될지 모르겠어서.ㅠㅠ 도와주실분 ㅠㅠㅠ
이 메모장 스킨인데요.
댓글부분의 글씨색만 다르게 하거나,
그 셀 부분만 색깔을 다르게 주고 싶습니다.
리스트 스킨을 봐도 뭘 건드려야 될지 모르겠어서.ㅠㅠ 도와주실분 ㅠㅠㅠ
댓글 전체
댓글 글씨는 td나 a태그 안에 style='color:red'
셀부분 색상은 tr 이나 td안에 style='background:red'
셀부분 색상은 tr 이나 td안에 style='background:red'
그렇게 하면 댓글 부분뿐만 아니라 메모장 전체 셀이나 색깔이 다 바뀝니다.ㅜㅜㅜㅜ
^^ 저 스타일 넣은곳이 어디인가여 메모장 최상위 테이블에 넣으신거같은데요 부분소스 보여주세여~
<style>
.bbs_form { margin:0; }
.bbs_linei { background-color:#b3b3b3; height:1px; }
.bbs_lineo { background-color:#c5c5c5; height:1px; }
.bbs_no { background-color:#c5c5c5; height:30px; }
.bbs_fs { color:#888888; font-size:11px; }
.bbs_ft { border-color:#000000; border-style:solid; border-width:1px; }
.bbs_tt { CURSOR:pointer; }
a.bbs:link, a.bbs:visited, a.bbs:active { text-decoration:none;}
a.bbs:hover { text-decoration:none; color:#3366cc; }
</style>
스타일은 최상위에 이렇게 걸려있구용.
밑에 리플라이있는 td에 스타일을 줬는데, 그냥 통째로 변해버리더라구요.ㅜㅜ
<!-- 게시판 리스트 시작 -->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td colspan="6" class="bbs_lineo"></td></tr>
<? for ($i=0; $i<count($list); $i++) {
$list_id = $list[$i][wr_id];
?>
<a name="c_<?=$list_id?>"></a>
<tr>
<td width="40" height="35" align="center">
<? $emolist[$i][subject] = emoticon_html($list[$i][subject], $board_skin_path);?>
<?=$emolist[$i][subject]?>
</td>
<td style="padding : 5px;">
<?
echo $list[$i][reply];
echo $list[$i][icon_reply];
?>
<? $list[$i][wr_content] = conv_content($list[$i][wr_content], 0);?>
<a href="javascript:list_box('<?=$list_id?>', 'r');" title="답변" class="bbs"><?=$list[$i][wr_content]?></a>
<? if (($member[mb_id] && ($member[mb_id] == $list[$i][mb_id])) || $is_admin) { ?>
<a href="javascript:list_box('<?=$list_id?>', 'u');"><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>
<? } ?>
<?=$list[$i][icon_new];?>
</td>
<td width="40"><?=$list[$i][name]?></td>
<td width="60" align="center"><span class="bbs_fs"><?=$list[$i][datetime2]?></span></td>
</tr>
<tr>
<td colspan="6" style="word-break:break-all;" class="bbs_pp">
<img id='save_emoticon_<?=$list_id?>' style='display:none;' border="0" src="<?=$board_skin_path?>/emoticons/<?=$list[$i][subject]?>.gif">
<input id='save_content_<?=$list_id?>' class="bbs_ft" type=text style='display:none;width:100%;height:23; padding:4;' value="<?=$list[$i][wr_content]?>">
<span id='reply_<?=$list_id?>' style='display:none; width:100%; padding:5;'></span><!-- 답변 -->
<span id='edit_<?=$list_id?>' style='display:none; width:100%; padding:5;'></span><!-- 수정 -->
</td>
</tr>
<tr><td colspan="6" class="bbs_linei"></td></tr>
<? } ?>
<? if (count($list) == 0) { ?>
<tr><td height="100" align="center">게시물이 없습니다.</td></tr>
<tr><td class="bbs_linei"></td></tr>
<? } ?>
</table>
.bbs_form { margin:0; }
.bbs_linei { background-color:#b3b3b3; height:1px; }
.bbs_lineo { background-color:#c5c5c5; height:1px; }
.bbs_no { background-color:#c5c5c5; height:30px; }
.bbs_fs { color:#888888; font-size:11px; }
.bbs_ft { border-color:#000000; border-style:solid; border-width:1px; }
.bbs_tt { CURSOR:pointer; }
a.bbs:link, a.bbs:visited, a.bbs:active { text-decoration:none;}
a.bbs:hover { text-decoration:none; color:#3366cc; }
</style>
스타일은 최상위에 이렇게 걸려있구용.
밑에 리플라이있는 td에 스타일을 줬는데, 그냥 통째로 변해버리더라구요.ㅜㅜ
<!-- 게시판 리스트 시작 -->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td colspan="6" class="bbs_lineo"></td></tr>
<? for ($i=0; $i<count($list); $i++) {
$list_id = $list[$i][wr_id];
?>
<a name="c_<?=$list_id?>"></a>
<tr>
<td width="40" height="35" align="center">
<? $emolist[$i][subject] = emoticon_html($list[$i][subject], $board_skin_path);?>
<?=$emolist[$i][subject]?>
</td>
<td style="padding : 5px;">
<?
echo $list[$i][reply];
echo $list[$i][icon_reply];
?>
<? $list[$i][wr_content] = conv_content($list[$i][wr_content], 0);?>
<a href="javascript:list_box('<?=$list_id?>', 'r');" title="답변" class="bbs"><?=$list[$i][wr_content]?></a>
<? if (($member[mb_id] && ($member[mb_id] == $list[$i][mb_id])) || $is_admin) { ?>
<a href="javascript:list_box('<?=$list_id?>', 'u');"><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>
<? } ?>
<?=$list[$i][icon_new];?>
</td>
<td width="40"><?=$list[$i][name]?></td>
<td width="60" align="center"><span class="bbs_fs"><?=$list[$i][datetime2]?></span></td>
</tr>
<tr>
<td colspan="6" style="word-break:break-all;" class="bbs_pp">
<img id='save_emoticon_<?=$list_id?>' style='display:none;' border="0" src="<?=$board_skin_path?>/emoticons/<?=$list[$i][subject]?>.gif">
<input id='save_content_<?=$list_id?>' class="bbs_ft" type=text style='display:none;width:100%;height:23; padding:4;' value="<?=$list[$i][wr_content]?>">
<span id='reply_<?=$list_id?>' style='display:none; width:100%; padding:5;'></span><!-- 답변 -->
<span id='edit_<?=$list_id?>' style='display:none; width:100%; padding:5;'></span><!-- 수정 -->
</td>
</tr>
<tr><td colspan="6" class="bbs_linei"></td></tr>
<? } ?>
<? if (count($list) == 0) { ?>
<tr><td height="100" align="center">게시물이 없습니다.</td></tr>
<tr><td class="bbs_linei"></td></tr>
<? } ?>
</table>