html表格合并(行,列)

时间:2014-08-05 09:40:48   收藏:0   阅读:296
<table>
    <tr>
        <td colspan="2">失败的实例:</td>
    </tr>

    {% for ip , jieguo in reason.iteritems() %}
    <tr>
        <td colspan="2">{{ ip }}</td>
    </tr>

    {% for l, r in  jieguo.iteritems() %}
    <tr>
        <td>{{ l }}</td>
        <td>{{ r }}</td>
    </tr>
    {% end %}

    {% end %}
</table>

bubuko.com,布布扣

上面是列合并


下面是行合并

<table>
    <tr>
        <th rowspan="2"></th>
    </tr>
</table>


html表格合并(行,列),布布扣,bubuko.com

评论(0)
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!