【问题标题】:Remove underline gmail hyperlink from outlook从 Outlook 中删除下划线 gmail 超链接
【发布时间】:2019-06-04 06:52:59
【问题描述】:

当我将网页内容复制到 Outlook 并发送到 gmail 时,是否可以删除 gmail 中的蓝色超链接下划线?

当我将文本粘贴到 Outlook 新邮件窗口时,有任何带下划线的链接,但是当我打开来自 gmail 的已发送信函时,我看到那个难看的蓝色下划线。比线只出现在桌面 gmail 中,在移动 gmail 应用程序中没有下划线。

我尝试了所有可以在谷歌上找到的东西。

这是我的代码:

<style>
  a {
    color: inherit;
    text-decoration: none;
    font-size: inherit;
    font-family: inherit;
    font-weight: inherit;
    line-height: inherit;
  }
</style>

<table border="0" cellpadding="0" cellspacing="0">
  <tbody>
    <tr>
      <td align="center" height="69" style="height:69px;" valign="middle" width="600"><a href="mylink" target="_blank" style="color:#040400;text-decoration: none;"><h2 style="text-align: center;font-family: Arial, sans-serif;">Title</h2></a></td>
    </tr>
  </tbody>
</table>

【问题讨论】:

    标签: html css outlook gmail


    【解决方案1】:

    h2text-decoration: none;上添加此样式

    <table border="0" cellpadding="0" cellspacing="0">
      <tbody>
        <tr>
          <td align="center" height="69" style="height:69px;" valign="middle" width="600"><a href="mylink" target="_blank" style="color:#040400;text-decoration: none;"><h2 style="text-align: center;font-family: Arial, sans-serif; text-decoration: none;">Title</h2></a></td>
        </tr>
      </tbody>
    </table>
    

    【讨论】:

    • 仍见下划线