多表头表格

表格多表头模式,参见:http://www.360ui.net

双表头

table-5

实现如下:

<table class="tableStyle" useCheckBox="true" useMultColor="true">

    <tr>

        <th rowspan="2" class="th_m2" ></th>

        <th colspan="2" class="th_m" >第一</th>

        <th colspan="3" class="th_m" >第二</th>

        <th colspan="2" class="th_m" >第三</th>

    </tr>

    <tr>

       

        <th width="10%" class="th_m"></th>

        <th width="5%" class="th_m"></th>

        <th width="20%" class="th_m">工作</th>

        <th width="15%" class="th_m">系方式</th>

        <th width="20%" class="th_m">住址</th>

        <th width="10%" class="th_m">婚姻状况</th>

        <th width="10%" class="th_m">操作</th>

    </tr>

    <tr>

        <td width="5%"><input type="checkbox" value="1"/></td>

        <td></td>

        <td>25</td>

        <td>设计师</td>

        <td>15012546548</td>

        <td>天津市和平</td>

        <td>已婚</td>

        <td><span class="img_view hand" title=""></span><span class="img_edit hand" title="修改"></span><span class="img_delete hand" title=""></span></td>

    </tr>

    <tr>

        <td><input type="checkbox" value="2"/></td>

        <td></td>

        <td>25</td>

        <td>设计师</td>

        <td>15012546548</td>

        <td>天津市和平</td>

        <td>已婚</td>

        <td><span class="img_view hand" title=""></span><span class="img_edit hand" title="修改"></span><span class="img_delete hand" title=""></span></td>

    </tr>

 

</table>

 

三表头

table-6

实现如下:

<table  class="tableStyle" useCheckBox="true" useMultColor="true">

  <tr>

    <th rowspan="3" class="th_m3"></td>

    <th colspan="4" class="th_m">星期一</th>

    <th colspan="4" class="th_m">星期二</th>

    <th colspan="4" class="th_m">星期三</th>

  </tr>

  <tr>

    <th colspan="2" class="th_m">上午</th>

    <th colspan="2" class="th_m">下午</th>

    <th colspan="2" class="th_m">上午</th>

    <th colspan="2" class="th_m">下午</th>

    <th colspan="2" class="th_m">上午</th>

    <th colspan="2" class="th_m">下午</th>

  </tr>

  <tr>

    <th class="th_m">1</th>

    <th class="th_m">2</th>

    <th class="th_m">3</th>

    <th class="th_m">4</th>

    <th class="th_m">1</th>

    <th class="th_m">2</th>

    <th class="th_m">3</th>

    <th class="th_m">4</th>

    <th class="th_m">1</th>

    <th class="th_m">2</th>

    <th class="th_m">3</th>

    <th class="th_m">4</th>

  </tr>

  <tr>

    <td><input type="checkbox" value="1"/></td>

    <td> </td>

    <td> </td>

    <td> </td>

    <td> </td>

    <td> </td>

    <td> </td>

    <td> </td>

    <td> </td>

    <td> </td>

    <td> </td>

    <td> </td>

    <td> </td>

  </tr>

  <tr>

    <td><input type="checkbox" value="2"/></td>

    <td> </td>

    <td> </td>

    <td> </td>

    <td> </td>

    <td> </td>

    <td> </td>

    <td> </td>

    <td> </td>

    <td> </td>

    <td> </td>

    <td> </td>

    <td> </td>

  </tr>

</table>

转载于:https://my.oschina.net/u/1045711/blog/137164

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值