【问题标题】:Adding a second heading to a table in an Outlook email向 Outlook 电子邮件中的表格添加第二个标题
【发布时间】:2021-11-08 20:26:09
【问题描述】:

我正在使用下面的代码向要添加到 Outlook 电子邮件的表格添加标题。我有一个要求添加第二行法语标题。我尝试了几件事,整个表格都以绿色突出显示。

任何有助于指出正确方向的帮助将不胜感激。提前谢谢.....

strBeforeRows = "<head><style>table, th, td {border: 1px solid gray; border-collapse:" & _
            "collapse;}</style></head><body>" & _
            "<table style=""width:60%""><tr>" & _
            "<th bgcolor=""#11ed69"">Rental Agreement # #</th>" & _
            "<th bgcolor=""#11ed69"">Citation #</th>" & _
            "<th bgcolor=""#11ed69"">Amount</th></tr>"

【问题讨论】:

    标签: html vba outlook


    【解决方案1】:

    当您创建 table 元素并且想要使用标题 (th) 单元格时,我通常会使用 thead 元素。我把&lt;tr&gt; 元素放在那里。

    目前我们在您的问题中没有看到完整的 HTML sn-p,因此我们无法给出完整的答案。

    【讨论】:

      猜你喜欢
      • 2020-11-27
      • 1970-01-01
      • 1970-01-01
      • 2014-05-03
      • 1970-01-01
      • 2013-01-11
      • 2022-11-18
      • 2020-06-26
      • 2013-10-06
      相关资源
      最近更新 更多