1、图标跟文字混排
html
分享
css
.link{ width: 92px; border: 1px solid #0f0; line-height: 18px;}.icon{ display: inline-block; *zoom: 1; vertical-align: bottom;}.wyyx{ width: 18px; height: 18px; background: url(http://p2.qhimg.com/t0116804ffa3cc8a59f.png) no-repeat;}
截图:
注意:
父容器的line-height值与图标的高度相等,另保持设置图标的vertical-align的值为bottom。
已抢66870个
抢已抢39273个
抢已抢21713个
抢已抢2757个
抢已抢2782个
抢已抢19354个
抢