css div 執行個體三行三列教程

來源:互聯網
上載者:User
 代碼如下 複製代碼

<!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=utf-8" />
<title>無標題文檔</title>
<style type="text/css">
.list0{
 font-size:12px;
 width:220px;
}
.list0 img{
 padding-right:3px;
}
.list0 li{
 border-bottom:dashed 1px #DDD;
 padding-left:5px;
 list-style:none;
 line-height:22px;
 }
.list0 li a{
 color:#666;
 width:70px;
 display:block;
 float:left;
 text-decoration:none;
}
</style>
</head>

<body>
<ul class="list0">
<li><a href="#"><img src="/images/1.gif" width="15" height="11" border="0" />姓名</a> <a href="#">出租(<span class="f-red">12</span>)</a><a href="#">出售(<span class="f-red">13</span>)</a></li>
<li><a href="#"><img src="/images/1.gif" width="15" height="11" border="0" />姓名</a> <a href="#">出租(<span class="f-red">12</span>)</a><a href="#">出售(<span class="f-red">13</span>)</a></li>
<li><a href="#"><img src="/images/1.gif" width="15" height="11" border="0" />姓名</a> <a href="#">出租(<span class="f-red">12</span>)</a><a href="#">出售(<span class="f-red">13</span>)</a></li>
<li><a href="#"><img src="/images/1.gif" width="15" height="11" border="0" />姓名</a> <a href="#">出租(<span class="f-red">12</span>)</a><a href="#">出售(<span class="f-red">13</span>)</a></li>
<li><a href="#"><img src="/images/1.gif" width="15" height="11" border="0" />姓名</a> <a href="#">出租(<span class="f-red">12</span>)</a><a href="#">出售(<span class="f-red">13</span>)</a></li>
<li><a href="#"><img src="/images/1.gif" width="15" height="11" border="0" />姓名</a> <a href="#">出租(<span class="f-red">12</span>)</a><a href="#">出售(<span class="f-red">13</span>)</a></li>
<li><a href="#"><img src="/images/1.gif" width="15" height="11" border="0" />姓名</a> <a href="#">出租(<span class="f-red">12</span>)</a><a href="#">出售(<span class="f-red">13</span>)</a></li>
</ul>
</body>
</html>

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.