html - Html 表中的排列
问题描述
我偶然发现了这张桌子⤵️
- 问题描述
有人可以告诉我如何获得
Days 行下方的“/”和“Time”?
这是代码:
<table border="2">
<tr>
<th rowspan="3">Days
</th>
<th rowspan="3">Monday</th>
<th rowspan="3">Tuesday</th>
<th rowspan="3">Wednesday</th>
<th rowspan="3">Thursday</th>
<th rowspan="3">Friday</th>
<th rowspan="3">Saturday</th>
</tr>
<tr>
<th>/</th>
</tr>
<tr>
<th>Time</th>
</tr>
</table>
解决方案
您需要rowspan
从“天”列中删除(或将其设置为 1):
<table border="2">
<tr>
<th>Days</th>
<th rowspan="3">Monday</th>
<th rowspan="3">Tuesday</th>
<th rowspan="3">Wednesday</th>
<th rowspan="3">Thursday</th>
<th rowspan="3">Friday</th>
<th rowspan="3">Saturday</th>
</tr>
<tr>
<th>/</th>
</tr>
<tr>
<th>Time</th>
</tr>
</table>
推荐阅读
- python - Python 读取文件扩展名 SC2Replay 的名称
- javascript - 如何下载 chrome.devtools.network.getHAR 作为 .har 返回的对象?
- node.js - 邮递员显示的结果与发送的 ExpressJS 不同
- angular - 如何在角度延迟加载的组件中使用另一个组件
- java - 为spring kafka应用程序设置代理
- excel - 使用输入规范生成 SAS 代码
- expo - 在 EXPO 工作时,如何制作这个网页弹出菜单?
- flutter - 是否可以计算firestore中文档中有多少张地图?如果是,是否可以使用 ListView.builder?
- ruby - 将 sqlite3 与 Ruby 一起使用,有没有办法将每一行读取为哈希而不是数组?
- ajax - 带有图像 base64 的 Ajax 请求在 Laravel 中显示 403 Forbidden