只需一步,快速开始
<style type="text/css"> .buddy li { overflow: hidden; display: inline; float: left; margin: 15px 15px 0; padding: 0 15px 15px 105px; width: 34%; height: 100px; border-bottom: 1px dotted #DDD; } .buddy .avt { position: absolute; margin-left: -105px; } .buddy .avt img { width: 90px; height: 90px; } </style> <ul class="buddy cl"> [loop]<li> <div class="avt"> <a href="{subject_url}"><img src="{zp_value}" /></a> </div> <h4>{modcheck}<a href="{subject_url}" class="xst">{lxr_14_value} {lxr_14_unit}</a>{author_verify}</h4> <div class="mtm mbm xg1"> {xb_14_value} {xb_14_unit} <span class="pipe">|</span> {nl_14_value} {nl_14_unit} <span class="pipe">|</span> {sg_value} {sg_unit} <span class="pipe">|</span> {zy_value} {zy_unit} </div> <p>{subject}</p> </li>[/loop] </ul>
<style type="text/css"> .buddy li { overflow: hidden; display: inline; float: left; margin: 15px 15px 0; padding: 0 15px 15px 105px; width: 34%; height: 138px; border-bottom: 1px dotted #DDD; } .buddy .avt { position: absolute; margin-left: -105px; } .buddy .avt img { width: 168px; height: 128px; } </style> <ul class="buddy cl"> [loop]<li> <div class="avt"> <a href="{subject_url}"><img src="{pplogo_value}" /></a> </div> <h4>{modcheck}<a href="{subject_url}" class="xst">{subject}</a>{author_verify}</h4> <div class="mtm mbm xg1"> {pplxdh_value} {pplxdh_unit} <span class="pipe">|</span> {pplxr_value} {pplxr_unit} </div> <p>{ppdz}:{ppdz_value}{ppdz_unit}</p> </li>[/loop] </ul>
我来回答
使用道具 举报
briskvoice 发表于 2012-5-23 15:47 给个地址看看
okxing 发表于 2012-5-23 15:56 给不了。。在局域网内~
5gss.cn 发表于 2012-5-24 02:22 .buddy .avt img { width: 168px; height: 128px; } width: 168px; height: 128px 改成适合的尺 ...
本版积分规则 发表回复 回帖后跳转到最后一页
手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )
GMT+8, 2024-11-24 14:42 , Processed in 0.031782 second(s), 2 queries , Gzip On, Redis On.
Powered by Discuz! X3.4
Copyright © 2001-2023, Tencent Cloud.