为什么我在div标签中设置<img>,预览就看不到效果了 5
.picli{height:232px;width:650px;clear:both;overflow:hidden;}.pic{width:216px;height:2...
.picli{ height:232px; width:650px; clear:both; overflow:hidden; }
.pic{width:216px;height:204px;margin-top:10px;text-align: center;float:left;line-height:18px;font-size:12px;}
<div class="picli"> <div class="pic"> <a href="" target="_blank"><img src="image/mb1.jpg" alt="这样洗脸" width="150" height="150" /></a><br /> <strong><a href="/" title="这样洗脸 呵护肌肤更美白" target="_blank">这样洗脸 呵护肌肤更美白</a></strong><br /> 美容达人:<a href="/" target="_blank">歪歪精灵</a> </div> <div class="pic"> <a href="" target="_blank"><img src="image/mb1.jpg" alt="这样洗脸" width="150" height="150" /></a><br /> <strong><a href="/" title="这样洗脸 呵护肌肤更美白" target="_blank">这样洗脸 呵护肌肤更美白</a></strong><br /> 美容达人:<a href="/" target="_blank">歪歪精灵</a> </div> <div class="pic"> <a href="" target="_blank"><img src="image/mb1.jpg" alt="这样洗脸" width="150" height="150" /></a><br /> <strong><a href="/" title="这样洗脸 呵护肌肤更美白" target="_blank">这样洗脸 呵护肌肤更美白</a></strong><br /> 美容达人:<a href="/" target="_blank">歪歪精灵</a> </div> </div> 展开
.pic{width:216px;height:204px;margin-top:10px;text-align: center;float:left;line-height:18px;font-size:12px;}
<div class="picli"> <div class="pic"> <a href="" target="_blank"><img src="image/mb1.jpg" alt="这样洗脸" width="150" height="150" /></a><br /> <strong><a href="/" title="这样洗脸 呵护肌肤更美白" target="_blank">这样洗脸 呵护肌肤更美白</a></strong><br /> 美容达人:<a href="/" target="_blank">歪歪精灵</a> </div> <div class="pic"> <a href="" target="_blank"><img src="image/mb1.jpg" alt="这样洗脸" width="150" height="150" /></a><br /> <strong><a href="/" title="这样洗脸 呵护肌肤更美白" target="_blank">这样洗脸 呵护肌肤更美白</a></strong><br /> 美容达人:<a href="/" target="_blank">歪歪精灵</a> </div> <div class="pic"> <a href="" target="_blank"><img src="image/mb1.jpg" alt="这样洗脸" width="150" height="150" /></a><br /> <strong><a href="/" title="这样洗脸 呵护肌肤更美白" target="_blank">这样洗脸 呵护肌肤更美白</a></strong><br /> 美容达人:<a href="/" target="_blank">歪歪精灵</a> </div> </div> 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询