<div title="-ТЭГ-" class="tag"> <div class="ar"></div> <div class="co"> <span class="name">-ТЭГ-</span> </div> </div>
.tag { font: 13px helvetica,arial,clean,sans-serif; background: none repeat scroll 0 0 #FDFDFD; border-bottom: 1px solid #D3D3D3; border-right: 1px solid #D6D6D6; border-top: 1px solid #E9E9E9; color: #939393; float: left; margin: 0 5px 5px 15px; border-radius: 0 4px 4px 0; } .tag * { float: left; } .tag .ar { background: url('sprite.png') no-repeat scroll 0 0 transparent; height: 21px; width: 15px; margin-bottom: -1px; margin-left: -15px; margin-top: -1px; } .tag .co { border-bottom: 1px solid #F8F9F9; border-right: 1px solid #F9FAFA; border-top: 1px solid #FDFDFD; border-radius: 0 4px 4px 0; } .tag .name { line-height: 17px; padding: 0 6px 0 4px; }
.tag:hover .ar{background-position:-15px 0} .tag.x .ar{background-position:-30px 0} .tag.x:hover .ar{background-position:-45px 0} .tag.x .ar:hover{background-position:-60px 0} .tag:hover{background:#f3fcff;cursor:pointer} .tag:hover .co{border-top:1px solid #f5fdff;border-bottom:1px solid #eff8fb;border-right:1px solid #f1f9fc} .tag .co{border-top:1px solid #fdfdfd;border-bottom:1px solid #f8f9f9;border-right:1px solid #f9fafa;-webkit-border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0}