电子邮件模板-MS Office Outlook 365中不显示表格背景图像 [英] Email template - table background image not displaying in MS Office Outlook 365

查看:66
本文介绍了电子邮件模板-MS Office Outlook 365中不显示表格背景图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

出于电子邮件模板的目的,我需要在< table> 中实现背景图片,并且背景图片中应包含文本.现在我已经尝试过:

For the purpose of an email template, I need to implement a background image in the <table> and its contain texts over image. Now I have tried:

https://stackoverflow.com/a/15620571/6191987

<!--[if gte mso 9]>
<v:background xmlns:v="urn:schemas-microsoft-com:vml" fill="t">
<v:fill type="tile" src="http://i.imgur.com/n8Q6f.png" color="#f6f6f6"/>
</v:background>
<![endif]-->

它不能使用最新版本的MS Outlook(版本16005.11029.20108.0 和版本1908 Build 11929.20562 ),

Its not working latest versions of MS Outlook (Version 16005.11029.20108.0 & Version 1908 Build 11929.20562),

但是在较旧的版本上工作正常.

But working fine with older versions.

有什么新方法可以解决此问题?

推荐答案

您是否尝试过声明VML在html标记中包含此标记?

Have you tried declaring VML have this in your html tag?

<html lang="en" xmlns="http://www.w3.org/1999/xhtml"
        xmlns:v="urn:schemas-microsoft-com:vml"
        xmlns:o="urn:schemas-microsoft-com:office:office">

您的bg img尺寸是多少?Outlook的最大img高度为1728px,如果超出该高度,则不会显示该图像.如果bg img是视网膜,它将无法正确显示.

Also what are the dimensions of your bg img? Outlook has a max img height of 1728px and won't show the image if it is over that. And it will not show correctly if the bg img is retina.

这篇关于电子邮件模板-MS Office Outlook 365中不显示表格背景图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆