코맨트 글자색을 수정하고 싶은데요..ㅠㅠ
링크
http://sir.co.kr/bbs/board.php?bo_table=g4_skin&wr_id=88059&sca=&sfl=mb_id%2C1&stx=xtrablue (115) http://ilsungaudio.com/bbs/board.php?bo_table=menu1_1&wr_id=12 (118)시하님의 스킨을 사용했는데요..
코맨트 색상이 배경색하고 똑같이 나와버려서..ㅠㅠ 글자가 전혀 안보이네요.ㅠㅠ
링크1번은 시하님의 스킨 링크이고
링크2번은 적용한 홈페이지 입니다.
코멘트 색상을변경하고 싶은데 어디를 변경을 해야하는지 도무지 모르겠어요..ㅠㅠ
view_comment_skin.php파일중에 아래 부분인것 같은데..모르겠네요.ㅠㅠ
<div style='line-height:20px; padding:7px 7px 7px 90px; word-break:break-all; overflow:hidden; clear:both; '>
<?
if (strstr($list[$i][wr_option], "secret")) echo "<span style='color:#ff6600;'>*</span> ";
$str = $list[$i][content];
if (strstr($list[$i][wr_option], "secret"))
$str = "<span class='small' style='color:#ff6600;'>$str</span>";
$str = preg_replace("/\[\<a\s.*href\=\"(http|https|ftp|mms)\:\/\/([^[:space:]]+)\.(mp3|wma|wmv|asf|asx|mpg|mpeg)\".*\<\/a\>\]/i", "<script>doc_write(obj_movie('$1://$2.$3'));</script>", $str);
$str = preg_replace("/\[\<a\s.*href\=\"(http|https|ftp)\:\/\/([^[:space:]]+)\.(swf)\".*\<\/a\>\]/i", "<script>doc_write(flash_movie('$1://$2.$3'));</script>", $str);
$str = preg_replace("/\[\<a\s*href\=\"(http|https|ftp)\:\/\/([^[:space:]]+)\.(gif|png|jpg|jpeg|bmp)\"\s*[^\>]*\>[^\s]*\<\/a\>\]/i", "<img src='$1://$2.$3' id='target_resize_image[]' onclick='image_window(this);'>", $str);
echo $str;
?>
</div>
<? if ($list[$i][trackback]) { echo "<p>".$list[$i][trackback]."</p>"; } ?>
<span id='edit_<?=$comment_id?>' style='display:none;'></span><!-- 수정 -->
<span id='reply_<?=$comment_id?>' style='display:none;'></span><!-- 답변 -->
<input type=hidden id='secret_comment_<?=$comment_id?>' value="<?=strstr($list[$i][wr_option],"secret")?>">
</div>
댓글 3개
style.css에서 맨 윗줄에
body, td, p, input, button, textarea, select, .c1 { font-family:Tahoma,굴림; font-size:9pt; color:#ffffff; }
이렇게 ffffff로 바꿨는데..
이것을 바꾼다고 다른 페이지들 색상이 바뀌지는 않겠죠??ㅠㅠ불안불안..ㅠㅠ
혹시 코멘트만 흰색으로 바꿔주고, 스타일시트를 줄려면 워찌해야할까요?
이 부분을
<div class="comment_div">
이렇게 바꿔놓고, css 파일에 다음과 같은 내용을 한 줄 넣어줍니다.
.comment_div {line-height:20px; padding:7px 7px 7px 90px; word-break:break-all; overflow:hidden; clear:both; color:#FFF; }