当前位置: 移动技术网 > IT编程>网页制作>Html5 > 今后输出表格之范例div表格

今后输出表格之范例div表格

2018年02月21日  | 移动技术网IT编程  | 我要评论

it解决网,淘宝网秋装新款女装,创维32

[html]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
<html xmlns="https://www.w3.org/1999/xhtml">  
<head>  
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />  
<title>DIV+CSS表格效果</title>  
<style type="text/css">  
/**p 表格*/ 
.pTb{  www.2cto.com
    margin:10px; 
    width:501px;/*100*5+1*/ 
    list-style: none; 
 

.pTb ul,.pTb li{ 
    margin:0; 
    padding:0; 

.pTb li{ 
    float:left; 
    border-left:1px solid #ccc; 
    border-top:1px solid #ccc; 
    width: 99px;/*99px内空+1px外框*/ 
    height: 33px; 
    line-height: 33px; 
    text-align: center; 

.pTb li.r{ 
    border-right:1px solid #ccc; 

.pTb li.b{ 
    border-bottom:1px solid #ccc; 

/**E p 表格*/ 
</style>  
</head>  
 
<body>  
 
<ul class="pTb"> 
    <li>111</li> 
    <li>112</li>     
    <li>113</li>     
    <li>114</li> 
    <li class="r">11r</li> 
    <li>111</li> 
    <li>112</li> 
    <li>113</li> 
    <li>112</li> 
    <li class="r">11r</li> 
 
    <li class="b">生活更美好</li>  
<li class="b"></li>  
<li class="b"></li>  
<li class="b"></li>  
<li class="b r">11</li>  
</ul> 
</body>  
</html>  

如对本文有疑问,请在下面进行留言讨论,广大热心网友会与你互动!! 点击进行留言回复

相关文章:

验证码:
移动技术网