【问题标题】:How to create two columns , three columns & two column in same table?如何在同一张表中创建两列、三列和两列?
【发布时间】:2020-03-24 04:40:00
【问题描述】:

我想为电子邮件模板创建如下所示的表格。

提前谢谢你...

【问题讨论】:

  • 我们很高兴为您提供帮助,但首先您必须尝试编写自己的解决方案,并在此处发布您的尝试。请阅读minimal reproducible example
  • 看看使用 colspan 并让列的总数可以被 3 和 2 整除(例如总共 6 列)

标签: html css email templates


【解决方案1】:

这是标记

<table>
    <tr>
        <td>
            <table>
                <tr>
                    <td>Content</td>
                    <td>Content</td>
                </tr>
            </table>
        </td>
    </tr>

    <tr>
        <td>
           <table>
                <tr>
                    <td>Content</td>
                    <td>Content</td>
                    <td>Content</td>
                </tr>
            </table>
        </td>
    </tr>

    <tr>
        <td>
            <table>
                <tr>
                    <td>Content</td>
                    <td>Content</td>
                </tr>
            </table>
         </td>
    </tr>
</table>

【讨论】:

  • 标题求同桌
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2018-04-29
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多