任何人都可以告诉我吗?我只是发送带有几段文字的时事通讯。并且它得到了完美的接收。但是 Outlook 2007 中每段邮件内容的最后一行都有额外的行距?为什么?
请参阅下面的示例...
Lorem Ipsum is simply dummy text of the
printing and typesetting industry. Lorem
Ipsum has been the industry's standard
dummy text the 1500s...
但应该像下面这样......
Lorem Ipsum is simply dummy text of the
printing and typesetting industry. Lorem
Ipsum has been the industry's standard
dummy text the 1500s...
最佳答案
如果您的代码具有跨度格式,您可以在结束标记后查找额外的空格。然后,该空间将使用电子邮件客户端的默认字体大小进行渲染。
例如:
<span style="font-size:10px;">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text the 1500s...</span> [space here]
最后一个空格的行足够高,可以容纳默认字体大小(通常为 12px)的空格。这样看起来文本的最后一行的行距就比其余行更大。
特别是从其他媒体复制/粘贴,可能会导致出现此空格,但由于您看不到它,因此您很容易意外地设置跨度标签,以便空格“滑出”它们。
/克劳斯
关于email - Outlook 2007 中邮件内容的最后一行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2972348/