如图所示:
htmL 的代码:
<dt> ???????<span></span> ?????<div class="avatar"> ???????<img src="../images/110x110.jpg"> ?????</div> ?????</dt>
css 的代码:
?????width: 100%; ?????height: 16px; ?????background: url("../images/ask_zj_icon.png") no-repeat; ?????background-size: 100%; ?????position: absolute; ?????bottom: 2px;
css 应用 ??给头像添加标签
原文地址:http://www.cnblogs.com/jishan-coder/p/7485936.html