Html 你能阻止Outlook电子邮件中的连字符吗?

Html 你能阻止Outlook电子邮件中的连字符吗?,html,css,outlook,html-email,hyphenation,Html,Css,Outlook,Html Email,Hyphenation,我正在开发一个电子邮件模板。在Outlook电子邮件中查看时,这些单词会以连字符分隔为两行。我在“td”标签上尝试了很多不同的css属性,但它什么也没做 这根本不可能控制吗 <tr> <td align="center" style="text-transform: initial; letter-spacing: 0; font-size:40px; line

我正在开发一个电子邮件模板。在Outlook电子邮件中查看时,这些单词会以连字符分隔为两行。我在“td”标签上尝试了很多不同的css属性,但它什么也没做

这根本不可能控制吗

  <tr>
     <td align="center" 
         style="text-transform: initial;
         letter-spacing: 0;
         font-size:40px;
         line-height: 48px;
         font-weight: 700;
         -webkit-text-size-adjust: 100%;
         -ms-text-size-adjust: 100%;
         mso-table-lspace: 0pt;
         mso-table-rspace: 0pt;
         word-break: break-word;
         -webkit-hyphens: none;
         -moz-hyphens: none;
         hyphens: none;
         border-collapse: collapse;">
        <div>Lorem Ipsum is simply dummy text of the printing and typesetting industry.
        </div>
     </td>
  </tr>
  
  <!--This is just a spacer-->
  <tr>
     <td style="-webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; mso-table-lspace: 0pt; mso-table-rspace: 0pt; word-break: break-word; -webkit-hyphens: none; -moz-hyphens: none; hyphens: none; border-collapse: collapse; line-height:20px; font-size:20px" height="20px">&nbsp;
     </td>
  </tr>

  <tr>
     <td align="center" 
         style="-webkit-text-size-adjust: 100%;
         -ms-text-size-adjust: 100%;
         mso-table-lspace: 0pt;
         mso-table-rspace: 0pt;
         word-break: break-word;
         -webkit-hyphens: none;
         -moz-hyphens: none;
         hyphens: none;
         border-collapse: collapse;
         line-height: 30px; 
         letter-spacing:0.02em;
         font-size:17px;
         line-height:30px;">
        <div>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
        </div>
     </td>
  </tr>

Lorem Ipsum只是印刷和排版行业的虚拟文本。
知识是一种美德,是一种美德,是一种美德,是一种美德。但是,在最低限度上,我们需要一个实验室来进行日常工作。两人或两人在一个无教区的房间里互相指责。除偶尔因疏忽而死亡外,不得因疏忽而导致动物死亡。

关于连字符:

单词在换行时不会断开,即使字符在 词语暗示着断线点。行将仅以空格换行

因此,您可以创建一个类
无连字符
,并使用它:

.no-hyphens {
    hyphens: none;
}

我从一个有这首曲子的来源那里得到了一个修改器: w:自动断字
我把它拿了出来。

谢谢,你的建议适用于整段内容,并保持在一行。我需要修复中间的词。PITZKI很难说没有密码。你可以发布代码和图片的结果应该达到什么?我会编辑原始的post@pitzki理想的结果是什么?底部没有连字符的图像。很酷,您找到了设置了
hyphen
的位置:)