HTML: td 布局问题

标签 html

这里实在画不出来,就用Excel画了

enter image description here

这是我尝试用 HTML 呈现一些代码:

<table>
    <thead>
        <th>
        <th>
        <th>
    </thead>
    <tbody>
        <tr>
            <td></td>
            <td></td>
            <td></td>
        </tr>

        <p></p>

        <tr>
            <td></td>
            <td></td>
            <td></td>
        </tr>
    </tbody>
<table>

最佳答案

使用 colspan 像这样跨列合并:

<tr>
  <td colspan="3">This is how I want it to look</td>
</tr>

Demo

关于HTML: td 布局问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33663150/

相关文章:

html - 为什么百分比填充/边距不适用于 Firefox 和 Edge 中的 flex 元素?

html - 在 <li> 中填充

android - 移动浏览器中 'Previous' 和 'Next' 按钮的标准

javascript - MutationObserver 和 Shadow DOM

html - 使图像和文本响应

php - 如何在php中按下提交按钮之前显示不同数量的记录

html - Android Logo 的左臂不可见

javascript - 将鼠标悬停在文本区域中获取单词

HTML 表格辅助

javascript - CSS3+Javascript 位置粘性可滚动内容