zoukankan      html  css  js  c++  java
  • div 画table尝试

    .left {
                    float: left;
                }
                
                .table {
                    border: solid 1px black;
                     750px;
                }
                
                .tr {
                     100%;
                    height: auto;
                }
                
                .td {
                    float: left;
                    min-height: 40px;
                    line-height: 40px;
                    padding: 5px;
                    font-size: 14px;
                    border-right: solid 1px black;
                }
                
                .td0 {
                    float: left;
                    min-height: 40px;
                    line-height: 40px;
                    font-size: 14px;
                    padding: 5px;
                }
                
                .btop {
                    border-top: solid 1px black;
                }
                
                .clear {
                    clear: both;
                }
    .left {
                    float: left;
                }
                
                .table {
                    border: solid 1px black;
                     750px;
                }
                
                .tr {
                     100%;
                    height: auto;
                }
                
                .td {
                    float: left;
                    min-height: 40px;
                    line-height: 40px;
                    padding: 5px;
                    font-size: 14px;
                    border-right: solid 1px black;
                }
                
                .td0 {
                    float: left;
                    min-height: 40px;
                    line-height: 40px;
                    font-size: 14px;
                    padding: 5px;
                }
                
                .btop {
                    border-top: solid 1px black;
                }
                
                .clear {
                    clear: both;
                }
    <div class="table" style="margin-top: 10px;">
    				<div class="tr">
    					<div class="td w15">姓名</div>
    					<div class="td w15"></div>
    					<div class="td w15">性别</div>
    					<div class="td w15"></div>
    					<div class="td w15">出生年月</div>
    					<div class="td0"></div>
    					<div class="clear"></div>
    				</div>
    
    				<div class="tr btop">
    					<div class="td w15">备注</div>
    					<div class="td0"></div>
    					<div class="clear"></div>
    				</div>
    			</div>
    

      

  • 相关阅读:
    iOS controller 和 window 图层
    iOS CGAffineTransform 仿射变换
    iOS UIButton的UIEdgeInsets
    iOS UI的动态布局
    iOS 栅格动态布局
    iOS 系统键盘几个类型
    iOS 金融类高精度处理
    Sublime Text (崇高文本)
    iOS 静态库——制作bundle
    iOS 静态库——制作Framework
  • 原文地址:https://www.cnblogs.com/lishupeng/p/10468450.html
Copyright © 2011-2022 走看看