CSS图文混排

 

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title></title>

 

<style type="text/css">
 body {
    margin:0;
    padding:0;
    font-size:12px;
}

h3 {
    width:388px;
    height:28px;
    margin:20px auto 0 auto;
    border:1px solid #ccc;
    border-width:1px 1px 0 1px;
    font-size:14px;
    color:#03c;
    text-indent:8px;
    line-height:30px;
    background:#f1f1f1;
    overflow:hidden;
}
h3 a {
    color:#03c;
    text-decoration:none;
}
h3 a:hover {
    color:#000;
}

ul {
    width:376px;
    height:284px;
    margin:0 auto;
    padding:12px 0 0 12px;
    border:1px solid #ccc;
    border-top-style:dotted;
    list-style:none;
}


ul li {
    float:left;
    margin:0 12px 12px 0;
    display:inline;
}
ul li a {
    display:block;
    width:82px;
    height:130px;
    cursor:hand;
    text-decoration:none;
    text-align:center;
    overflow:hidden;
}

ul li a img {
    width:80px;
    height:80px;
    border:1px solid #ccc;
}

ul li a strong {
    display:block;
    width:82px;
    height:30px;
    line-height:15px;
    font-weight:100;
    color:#333;
    overflow:hidden;
}
ul li a span {
    display:block;
    width:82px;
    height:20px;
    line-height:20px;
    color:#666;
}
ul li a span em {
    font-style:normal;
    font-weight:800;
    color:#f60;
}

ul li a:hover img {
    border-color:#333;
}
ul li a:hover strong {
    color:#03c;
}
ul li a:hover span em {
    color:#f00;
}

</style>

</head>

<body>
<ul>
    <li><a href="http://www.woaicss.com/article.asp?id=844"><img src="http://www.woaicss.com/works/pic/0.jpg" alt=""/> <strong>澳大利亚高帮鞋纯羊毛/css毛线</strong>    <span>¥<em>25.0</em></span></a></li>
    <li><a href="http://www.woaicss.com/article.asp?id=843"><img src="http://www.woaicss.com/works/pic/2.jpg" alt=""/> <strong>[迎国庆]经典百搭纪念款情侣CSS支持非常好 </strong> <span>¥<em>65.0</em></span></a></li>
    <li><a href="http://www.woaicss.com/article.asp?id=842"><img src="http://www.woaicss.com/works/pic/3.jpg" alt=""/> <strong>优雅甜蜜气质 毛呢配真毛领 机车款外套CSS </strong> <span>¥<em>215.0</em></span></a></li>
    <li><a href="http://www.woaicss.com/article.asp?id=841"><img src="http://www.woaicss.com/works/pic/4.jpg" alt=""/> <strong>超显瘦 韩版九分裤 </strong> <span>¥<em>9.0</em></span></a></li>
    <li><a href="http://www.woaicss.com/article.asp?id=838"><img src="http://www.woaicss.com/works/pic/5.jpg" alt=""/> <strong>抢!双冠促销黄金假期【全CSS列表 </strong> <span>¥<em>120.0</em></span></a></li>
    <li><a href="http://www.woaicss.com/article.asp?id=835"><img src="http://www.woaicss.com/works/pic/6.jpg" alt=""/> <strong>特价!冲4冠 热销万条 超显CSS实例</strong> <span>¥<em>32.0</em></span></a></li>
    <li><a href="http://www.woaicss.com/article.asp?id=834"><img src="http://www.woaicss.com/works/pic/7.jpg" alt=""/> <strong>实拍 抓绒套头帽衫带帽长袖加厚卫衣外套 </strong> <span>¥<em>99.0</em></span></a></li>
    <li><a href="http://www.woaicss.com/article.asp?id=833"><img src="http://www.woaicss.com/works/pic/8.jpg" alt=""/> <strong>庆三冠!零利润纯牛皮女单鞋!销量冲万!人气款CSS优化最佳实践六则 </strong> <span>¥<em>125.0</em></span></a></li>
</ul>
</body>
</html>

 

原文地址:http://pawaluodiliuxin.blog.163.com/blog/static/268363412009101913449495/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值