Помогите изменить вид комментариев
|
|
18.11.2012
S@Nek
VIP
Сообщений 678
|
Как мне сделать так? Вот коды: Html вида комментариев: Code <div class="comment"> <div class="commenttop">$NUMBER$ <?if($USERNAME$)?><a href="$PROFILE_URL$"><b>$USERNAME$</b></a><?else?><b>$NAME$</b><?endif?></div> <div class="commentavatar"><?if($USER_AVATAR_URL$)?><a href="$PROFILE_URL$" title="$USERNAME$"><img alt="$USERNAME$" align="left" src="$USER_AVATAR_URL$" width="50" /></a><?endif?></div> <div class="commentmessage">$MESSAGE$</div><div style="text-align:right;">$MODER_PANEL$</div> <?if($ANSWER$)?><div class="cAnswer" style="text-align:right;clear:both;"><b>Ответ</b>: $ANSWER$</div><?endif?> <?if($ANSWER_URL$)?><div style="text-align:right;clear:both;padding:4px 0;font-size:7pt;">[<a href="$ANSWER_URL$">Ответить</a>]</div><?endif?> </div> CSS: Code /* Comment Style */ .comment {padding:10px;margin:5px;background:#e3e3e3 url('/images/bg_mid_white.png'); font-family: Arial,Verdana;font-size: 12px;color:#000000;text-decoration:none border:dashed 2px #000000; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; border: solid 1px #000; }
.commentoffline {padding:10px; border:dashed 5px #000000; -moz-border-radius: 0px; -webkit-border-radius: 0px; border-radius: 0px;}
.commentavatar { display: inline-block; border: dashed 1px #000; overflow: hidden; -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, .4); -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, .4); box-shadow: 0 1px 3px rgba(0, 0, 0, .4); }
.commenttop { text-decoration:none;text-shadow:0px 0px 3px #000000;font: bold 14px Arial,Verdana; }
.commentmessage {margin:5px;padding:5px;} /* ------------- */
подпись:

|
|
18.11.2012
SacSvipe
VIP
Сообщений 164
|
Ты хочешь чтобы только у админов вокруг сообщения была рамка или как?
|
|
18.11.2012
|
18.11.2012
|
18.11.2012
GhostlyP
VIP
Сообщений 476
|
HTML: Code <div class="comment"> <div class="commenttop"><div style="float:right;">$MODER_PANEL$</div>$NUMBER$ <?if($USERNAME$)?><a href="$PROFILE_URL$"><b>$USERNAME$</b></a><?else?><b>$NAME$</b><?endif?></div> <?if($USER_AVATAR_URL$)?><div class="commentavatar"><a href="$PROFILE_URL$" title="$USERNAME$"><img alt="$USERNAME$" align="left" src="$USER_AVATAR_URL$" width="50" /></a></div><?endif?> <div class="commentmessage">$MESSAGE$</div> <?if($ANSWER$)?><div class="cAnswer" style="text-align:right;clear:both;"><b>Ответ</b>: $ANSWER$</div><?endif?> <?if($ANSWER_URL$)?><div style="text-align:right;clear:both;padding:4px 0;font-size:7pt;">[<a href="#">Ответить</a>]</div><?endif?> </div> CSS: Code /* Comment Style */ .comment { padding:10px; margin:5px; background:#e3e3e3 url('/images/bg_mid_white.png'); font-family: Arial,Verdana;font-size: 12px; color:#000000; text-decoration:none -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; border: 1px solid #000; }
.commentavatar{ display: inline; }
.commentavatar img{ border: 1px dashed #000; -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; padding: 2px; -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, .4); -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, .4); box-shadow: 0 1px 3px rgba(0, 0, 0, .4); }
.commentoffline { padding:10px; -moz-border-radius: 0px; -webkit-border-radius: 0px; border-radius: 0px; }
.commenttop { text-decoration:none;text-shadow:0px 0px 3px #000000;font: bold 14px Arial,Verdana; margin-bottom: 2px; }
.commentmessage {padding:5px;} /* ------------- */
подпись: ..: Сквозь туманы миров я увижу прекрасное :..

|
|
19.11.2012
|