Code
<div class="MesChat">
<div class="chat-wrap-mes">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td class="td1" valign="top">
<a href="/index/8-0-$NAME$" target="_blank" rel="nofollow">
<div class="avkas rad2 groupAdmin" style="padding: 3px;"><div class="rad2">
<div class="avkas rad2 groupModer" style="padding: 3px;"><div class="rad2">
<div class="avkas rad2 groupVerify" style="padding: 3px;"><div class="rad2">
<div class="avkas rad2 groupFriends" style="padding: 3px;"><div class="rad2">
<div class="avkas rad2 groupUser" style="padding: 3px;"><div class="rad2">
<img src="$AVATAR_URL$http://uwebo4ka.3dn.ru/scripts/statistika/noavatar.png" border="0" class="rad2" style="max-width: 25px;" />
</div></div>
</a>
</td>
<td class="td2" valign="top">
<div style="float: right; color: #9d9d9d;"><div style="border-left: 1px dotted #ddd; padding-left: 5px; margin-left: 5px;">
$TIME$
</div></div>
<a style="" href="javascript://" onclick="$('#MeskaMchat').val('[b]$NAME$[/b]: '); $('#MeskaMchat').focus();return false;">
<b class="groupAdmin">$NAME$</b>
<b class="groupModer">$NAME$</b>
<b class="groupVerify">$NAME$</b>
<b class="groupFriends">$NAME$</b>
<b class="groupUser">$NAME$</b>
</a>
<div style="padding-top: 3px;"></div>
<div style="clear: both; width: 157px; padding-right: 5px;">$MESSAGE$</div>
</td>
</tr></table>
</div>
</div>
Code
div.groupVerify{background-color:#008b00;}
div.groupAdmin{background-color:#b22222;}
div.groupUser{background-color:#a5a5a5;}
div.groupModer{background-color:#7b08b7;}
div.groupFriends{background-color:#24afb1;}
.MesChat {border-bottom:1px solid #ddd;margin-bottom:5px;width:100%;}
.chat-wrap-mes {
padding: 5px 1px 5px 1px; border-top: 1px solid #ddd;
}
.chat-wrap-mes:first-child {border-top: 0; padding-top: 0;}
.chat-wrap-mes .td1 {
width: 30px; padding-right: 2px;
}
.chat-wrap-mes .td2 {
}
.avkas {
display: inline-block; *display: inline; background: rgba(230,230,230,0.65); padding: 5px; padding-bottom: 6px;
-webkit-box-shadow: inset 0px 0px 1px 1px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(0, 0, 0, 0.12);
-moz-box-shadow: inset 0px 0px 1px 1px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(0, 0, 0, 0.12);
box-shadow: inset 0px 0px 1px 0px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(0, 0, 0, 0.12);
}
.avkas.on {
background: #5cba38;
}
.avkas div {
background: #fff; padding: 3px; display: inline-block; *display: inline;
-webkit-box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.15);
-moz-box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.15);
box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.15);
}
.rad2 {-webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px;}