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>
    

      

  • 相关阅读:
    事件对象阻止默认行为
    事件对象的属性和方法
    [MySQL] 中 Schema和Database的区别
    MyBatis-session-SqlSession
    Setting the Java Class Path
    MySQL Connector/J
    Backup and Recovery Types
    The MySQL Server
    Server SQL Modes
    MySQL Server and Server-Startup Programs
  • 原文地址:https://www.cnblogs.com/lishupeng/p/10468450.html
Copyright © 2011-2022 走看看