html - 电子邮件背景颜色问题

标签 html css lotus-notes html-email newsletter

我正在创建一份时事通讯并使用十六进制代码 #25292C 设置背景颜色;当我发送时事通讯时,消息显示正常。当我将时事通讯转发给其他人时,时事通讯背景覆盖了整个电子邮件。我想防止电子邮件获得时事通讯背景颜色。我正在使用 Lotus Notes 作为我的电子邮件客户端。

有什么解决方法吗?

最佳答案

这是你想要的:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title></title></head>
<body style="margin: 0px; padding: 0px background-color: #FFFFFF;" bgcolor="#FFFFFF"><!-- << bg color for forwarding // main bg color >> --><table bgcolor="#323232" width="100%" border="0" align="center" cellpadding="0" cellspacing="0" style="padding:30px;"><tr><td>

<!-- CENTER FLOAT -->
<table width="600" border="0" valign="top" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="padding:30px;"><tr><td>

main panel                   

</td></tr></table>
<!-- /CENTER FLOAT -->

</td></tr></table></body></html>

当您将电子邮件转发给第二个收件人时,背景为白色(或您设置的任何颜色)

关于html - 电子邮件背景颜色问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15276766/

相关文章:

css - :active pseudo class? 鼠标松开后如何改变按钮的css样式

javascript - 如何将脚本库添加到 XPage 自定义 Java 控件

javascript - 这是在 Javascript/Jquery(带动画)中预加载图像的正确方法吗?

html - DIV 表格单元格宽度 100%

html - 选择器 :not(:last-child) not working with div child img tag?

html - 我可以替换 <table border=1 >' with ` <table >` + css: ` table{...}` 吗?

css - 当我在 Xpage View 面板中滚动时, View 标题不可见

lotus-notes - 从 Lotus Notes 邮件搜索创建 View

javascript - Google Chrome 调试器工作异常

html - 为什么文本悬停在我的 asp.net 元素上不起​​作用?