HTML不规则表格创建

这段HTML代码展示了如何创建一个不规则的表格,包括不同列宽、行高以及合并单元格的设置。表格中包含了基础属性、功能设置以及带有缓存和可编辑图层注释的列。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

直接上代码:

<html>

<head>

<meta charset="utf-8" />

<style type="text/css"> 

    table{width:1190px;font-size:15px;line-height:1.2;border-top:1px solid #a8a8a8;border-left:1px solid #a8a8a8;text-align: center;margin:57px auto;border-collapse: collapse;}

    table  caption{padding:26px 0;font-size: 26px;line-height: 1;color:#e63b3b;}

    table td, table th{ border-right:1px solid #a8a8a8; border-bottom:1px solid #a8a8a8;height:20px;}

    table th{background-color:#eeeeee;padding:8px 0;}

    table td{font-size: 12px;line-height:26px;padding:4px 15px 4px 9px;}

    .align-justy{text-align: justify;}

</style> 

</head>

<table border= "1 "   width= "200 " >

   <tr>

   <td colspan="3">基础属性</td>

   <td colspan="3">功能设置</td>

   <td rowspan="3">缓存</td>

   <td rowspan=32">图层注释(可编辑)</td>

   </tr>

   <tr>

   <td>图层标题</td>

   <td>名称</td>

   <td>图层</td>

   <td rowspan="2">查询</td>

   <td>识别</td>

   <td>专题</td>

   </tr>

</table>

</html>

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值