Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/40.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 电子邮件背景颜色问题_Html_Css_Lotus Notes_Html Email_Newsletter - Fatal编程技术网

Html 电子邮件背景颜色问题

Html 电子邮件背景颜色问题,html,css,lotus-notes,html-email,newsletter,Html,Css,Lotus Notes,Html Email,Newsletter,我正在制作一份时事通讯,并使用hexcode#25292C设置背景色;当我发送时事通讯时,信息看起来很好。当我将时事通讯转发给其他人时,时事通讯背景会覆盖整个电子邮件。我希望阻止电子邮件获得时事通讯背景颜色。我正在使用LotusNotes作为我的电子邮件客户端 有什么解决办法吗?您使用的是表格吗?我已经这样做了,并且在FWD电子邮件上没有任何问题(我的重点是outlook/gmail/yahoo/aol) 你的东西 …但是,再一次…许多电子邮件提供商(不确定您关注什么…Outlook iEX

我正在制作一份时事通讯,并使用hexcode#25292C设置背景色;当我发送时事通讯时,信息看起来很好。当我将时事通讯转发给其他人时,时事通讯背景会覆盖整个电子邮件。我希望阻止电子邮件获得时事通讯背景颜色。我正在使用LotusNotes作为我的电子邮件客户端

有什么解决办法吗?

您使用的是表格吗?我已经这样做了,并且在FWD电子邮件上没有任何问题(我的重点是outlook/gmail/yahoo/aol)


你的东西

…但是,再一次…许多电子邮件提供商(不确定您关注什么…Outlook iEX)无法在其邮件正文中编写(或转发)复杂的HTML邮件。您可以通过从“邮件”菜单/栏中选择“作为附件转发”或“重定向”来解决此问题,它们将完整地发送邮件(并在某些收件人的电子邮件程序中内联显示)。

以下是您的目标:

<!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>

主面板

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

Outlook用户首选项可以直接从您的电子邮件中删除正文样式。通常最好的做法是将内容包装在标签中,并对每个标签应用颜色,以最大限度地与电子邮件客户端兼容

这很痛苦,但很有效。还要记住不要使用缩短的颜色,如:#F00。Outlook会使这些变黑

简单电子邮件格式:

<table>
<tr>
<td (width) (bgcolor) (style including font, font-size, color and if applicable, line height)> content </td>
</tr>
</table>

内容
这对我很有效

 <body style="background-color:#333333;  min-height:1000px;"  bgcolor="#333333">
      <!--[if gte mso 9]>
      <v:background xmlns:v="urn:schemas-microsoft-com:vml" fill="t">
        <v:fill type="tile" src="bg.jpg" color="#333333"/>
      </v:background>
      <![endif]-->
    ......
    </body>

......

没有足够的信息。您使用的是内联样式还是其他样式?@madhushankarox新闻稿应用程序只允许我使用内联样式这不是默认/预期的行为吗?为什么要改变背景色?@cristeblonde什么?!!你明白我在问什么吗?@EricOboite在你的问题的第一个版本中,当我将时事通讯转发给其他人时,电子邮件继承了新闻信函的背景色。。继承,而不是编辑后所说的覆盖。所以我认为我的评论是合理的。谢谢你礼貌的语气,祝你提问顺利。
 <body style="background-color:#333333;  min-height:1000px;"  bgcolor="#333333">
      <!--[if gte mso 9]>
      <v:background xmlns:v="urn:schemas-microsoft-com:vml" fill="t">
        <v:fill type="tile" src="bg.jpg" color="#333333"/>
      </v:background>
      <![endif]-->
    ......
    </body>