html - 为什么我的电子邮件签名文本颜色未在浏览器中显示?
问题描述
我做了一个 html 签名,我们公司正在使用 Outlook,但浏览器上没有显示文本颜色。在移动设备上,签名工作正常。TIA
<div style="display:inline-block;vertical-align:top;">
</div>
<div style="display:inline-block; padding-left: 10px;">
<div style=" font-family:Helvetica, Arial, sans-serif; font-size:14px; font-style: bold;">Full Name</div>
<div style="font-family:Helvetica, Arial, sans-serif; font-size:11px; font-style:bold; color:gray;">Head of Business Development</div>
<div style="font-family:Helvetica, Arial, sans-serif; font-size:10px; font-style:bold;"> O: xxxxxxxxxx</div>
<div style="font-family:Helvetica, Arial, sans-serif; font-size:10px; font-style:bold;">M: xxxxxxxxxx</div>
<div style="font-family:Helvetica, Arial, sans-serif; font-size:10px; font-style:bold;">E:<a href="mailto:xxxxxxxxxx"> xxxxxxxxxx</a></div>
<div style="font-family:Helvetica, Arial, sans-serif; font-size:10px; font-style:bold;"><a style="color:#24bef2;">xx</a> <a style="color:#e9212c;">x</a><a style="color:#f16530;">x</a><a style="color:#804295;">x</a><a style="color:#1a9248;">x</a><a style="color:#aecf4c;">x</a>
| <a style="color:#f06a4f;">xx</a> <a style="color:#00a3aa;">xxxxx</a>
| xxxxxxxxxxx</div>
</div>
<div small style=" font-family:Helvetica, Arial, sans-serif; font-size:8px; color:#4d4d4e; padding-top: 10px">
Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the <br>
intended recipient(s) and may contain confidential and privileged information. Any unauthorized <br>
review, use, disclosure or distribution of this information is prohibited, and may be punishable by<br>
law. If this was sent to you in error, please notify the sender by reply e-mail and destroy all <br>
copies of the original message. Please consider the environment before printing this e-mail.</small></div>
<br>
<br>
解决方案
每个邮件应用程序都有自己的渲染引擎,它决定了电子邮件的显示方式。您无法 100% 控制签名。这就是为什么一些邮件客户端会为链接显示 UNDERLINE 并且 <a herf=> 标记无效的原因。
推荐阅读
- mysql - 在特定字符串中的列值精确的表中搜索
- python - 将Excel中的数据扫描到python时如何设置自动DataFrame结构?
- c++ - 我想在 C++ 中实现映射,因为我无法检查矢量大小并为我制作的矢量赋值
- python - 为什么 Python venvs 在它们的配置中有一个“home”设置,而它们也有一个 python.exe 文件?
- powerbi - 根据 Power BI 中的开始和结束日期计算活动合同?
- express - 处理 connect-history-api-fallback 和 Express 中的斜杠
- lxml - 您如何获得根元素下的所有内容?
- oop - DART 中类字段的默认值
- r - 如何在 Mac 上的 Shiny 中将文件名传递给 downloadHandler
- model - 忽略模型中不存在的列