English 中文(简体)
传真电子邮箱:nemail
原标题:HTML email problems in Hotmail
  • 时间:2012-01-12 19:59:27
  •  标签:
  • html
  • css

我投了一封超文本的电子邮件,在电子邮件中表现得很好,但有一些奇怪的热信错。 页: 1


<?php
[..]

$mailTxt = "<div style="font:11pt/22pt Arial;color:black;width:100%;background:black;text-align:justify;">
    <div style="height:150px;background:black;display:table;">
        <div style="display:table-cell;width:160px;vertical-align:top;">
            <img src=""._BASE_URL."/inc/images/SingleDays-Mailing-Logo.jpg" style="margin:25px;">
        </div>
        <div style="display:table-cell;vertical-align:top;">
            <h1 style="font:19pt/22pt Arial;letter-spacing:-0.5pt;color:#cc2439;padding-top:40px;">SingleDays Nieuwsbrief, ".$_POST[ date ]."</h1>
        </div>
    </div>
    <div style="background:white;margin:0 25px;padding:25px 10%;border-bottom:solid 1px #eee;">
        <h2 style="font:17pt/22pt Arial;letter-spacing:-0.5pt;color:#cc2439;text-transform:uppercase;">".$_POST[ s1 ]."</h2>
        <p style="text-align:justify;">".$_POST[ t1 ]."</p>
    </div>
    <div style="display:table;background:white;margin:0 25px;border-bottom:solid 1px #eee;">
        <div style="display:table-cell;padding:25px;border-right:solid 1px #eee;width:50%;">
            <h2 style="font:15pt/22pt Arial;letter-spacing:-0.5pt;color:#cc2439;">".$_POST[ s2 ]."</h2>
            <p style="text-align:justify;">".$_POST[ t2 ]."</p>
        </div>
        <div style="display:table-cell;padding:25px;width:50%;">
            <h2 style="font:15pt/22pt Arial;letter-spacing:-0.5pt;color:#cc2439;">".$_POST[ s3 ]."</h2>
            <p style="text-align:justify;">".$_POST[ t3 ]."</p>
        </div>
    </div>
    <div style="display:table;background:white;margin:0 25px;">
        <div style="display:table-cell;padding:25px;border-right:solid 1px #eee;width:50%;">
            <h2 style="font:15pt/22pt Arial;letter-spacing:-0.5pt;color:#cc2439;">".$_POST[ s4 ]."
            <p style="text-align:justify;">".$_POST[ t4 ]."</p>
        </div>
        <div style="display:table-cell;padding:25px;width:50%;">
            <h2 style="font:15pt/22pt Arial;letter-spacing:-0.5pt;color:#cc2439;">".$_POST[ s5 ]."</h2>
            <p style="text-align:justify;">".$_POST[ t5 ]."</p>
        </div>
    </div>
    <div style="background:black;color:white;">
        <p style="margin-left:25px;">Je ontvangt deze nieuwsbrief omdat je aangegeven hebt deze te willen ontvangen. Via <a href=""._BASE_URL."/unsubscribe/".md5($receivers[$i])."" style="text-decoration:underline;color:#cc2439;">deze link</a> kun je je weer uitschrijven.
    </div>
</div>";

[..]
?>

这在电子邮件中完全是细微的,但问题发生在热电邮件中(而且由于一米在一家果厂工作,而没有办公室,甚至可以检查前景)。

首先,我的所有标题都是绿色的。 我已经尝试了一个<代码>color:#cc2439 !important;,但没有任何结果,仍然是绿色的。

除此以外,还处理过错误的间隙(http://www.campaignmonitor.com/cs/“rel=“nofollow”>should > 待补)。

问题对我来说似乎很基本,因此,我很想知道,有人是否知道一种容易的解决办法,我是否没有任何办法可以解决肤色问题。

http://www.un.org。

以一段取代标题内容,从而解决了肤色问题。 很明显,热 Hot邮封顶压了用户风格

最佳回答

几个方面:

1 - Campaign monitor has a good guide on what s supported on different mail clients. http://www.campaignmonitor.com/css/

2 - Exact Target (you have to pay) has an excellent service where it automatically tests your email on a variety of clients and makes screen-shots of them all, which you can view online or download as PDF. http://www.exacttarget.com/

问题回答

Try taking a look at the source of the message as Hotmail renders it - it may be messing with your tags, and you should be able to find out why there.

第二,我用 Chrome光灯片检查电子邮件内的物品,你的风格可以适当应用,但有些<>其他<>。 这个项目优于你的风格。 (Firebug, “Firebug”和Saras的开发工具也都这样做,我不知道这些工具的确切条件。)





相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签