当前位置:网站首页>table标签的不规则布局
table标签的不规则布局
2022-06-22 02:51:00 【编程小龙】
引入
利用table标签中td的rowspan合并列,colspan合并行
简单案例

代码如下:
<table border="1">
<tr>
<td>aa</td>
<td rowspan="2">cc</td>
</tr>
<tr>
<td>bb</td>
</tr>
</table>

<table border="1">
<tr>
<td rowspan="2">cc</td>
<td>aa</td>
</tr>
<tr>
<td>bb</td>
</tr>
</table>

<table border="1">
<tr>
<td>cc</td>
<td>aa</td>
</tr>
<tr>
<td colspan="2">bb</td>
</tr>
</table>

<table border="1" cellpadding="0" cellspacing="0">
<tr>
<td rowspan="2">ccc</td>
<td colspan="2">aaa</td>
</tr>
<tr>
<td>bb</td>
<td rowspan="2">vvv</td>
</tr>
<tr>
<td colspan="2">eee</td>
</tr>
</table>
边栏推荐
- Graphacademy course explanation: Fundamentals of neo4j graph data science
- Parallel search DSU
- fatal error: png++/png. Hpp: no that file or directory
- discuz! Bug in the VIP plug-in of the forum repair station help network: when the VIP member expires and the permanent member is re opened, the user group does not switch to the permanent member group
- 【一起上水硕系列】Day Two
- Relative references must start with either “/“, “./“, or “../“.
- DAST black box vulnerability scanner part 4: scanning performance
- 自适应批作业调度器:为 Flink 批作业自动推导并行度
- ATM simulation system
- 2022年买理财产品买三个月还是半年?
猜你喜欢

C++ primer Chapter 2 summary of variables and basic types

Markdown advanced syntax, marktext compatible
![[go language] we should learn the go language in this way ~ a comprehensive learning tutorial on the whole network](/img/91/324d04dee0a191725a0b8751375005.jpg)
[go language] we should learn the go language in this way ~ a comprehensive learning tutorial on the whole network

C ++ Primer 第2章 变量和基本类型 总结

How to select the appropriate version of neo4j (version 2022)

Technical exploration: 360 digital subjects won the first place in the world in ICDAR OCR competition

Select for i/0 multiplexing

华阳智能冲刺深交所:拟募资4亿 复星惟盈是股东

Must the database primary key be self incremented? What scenarios do not suggest self augmentation?

DAST black box vulnerability scanner part 4: scanning performance
随机推荐
Microblog closes publishing multiple part-time fraud information illegal accounts: how to crack down on data fraud
Dynamically load assetdatabase of assets
Relative references must start with either “/“, “./“, or “../“.
HarmonyOS鸿蒙使用ORM Bee访问数据库实例
Latest release: neo4j figure data science GDS 2.0 and aurads GA
从数据库的分类说起,一文了解图数据库
Official release of ideal L9: retail price of 459800 yuan will be delivered before the end of August
Starting from the classification of database, I understand the graph database
Jz59. print binary tree in zigzag order
The brand, products and services are working together. What will Dongfeng Nissan do next?
Automated tools - monitoring file changes
自适应批作业调度器:为 Flink 批作业自动推导并行度
C2-qt serial port debugging assistant 2021.10.21
Microsoft Internet Explorer was permanently closed on June 15
Which Amazon evaluation system is better?
Select for i/0 multiplexing
PMP备考相关敏捷知识
Li Kou today's question 1108 IP address invalidation
Annual special analysis of China Mobile Banking in 2022
[2. merge sort]