dongxun6690 2013-12-06 08:00
浏览 20
已采纳

Hotmail和yahoo html简报邮件问题[关闭]

I want to send a html newsletter to various users using php,html.
Below is the separate code for yahoo and hotmail.
I am using separate code because I am getting a layout issue.

The code for yahoo users:

<table border="0" style="width:248px;float:left;margin:15px 15px 0px 0px;" cellpadding="0" cellspacing="0" class="img_tbl"> 
<img style="border:0;display:block;"  src="" align="top"  />

The code for Hotmail users:

<table border="0" style="width:248px;float:left;margin:15px 15px 0px 0px;display:inline-block;" cellpadding="0" cellspacing="0" class="img_tbl">
<img style="border:0;display:block;"  src="" align="top"  />

When I am forwarding the same mail from yahoo to hotmail the layout and images breaks. Because code is different for yahoo.

  • 写回答

1条回答 默认 最新

  • doukuanyong1939 2013-12-06 09:01
    关注

    HTML and CSS in email design is a pain, basically - every email client renders differently, with Outlook in particular being frustrating due to using Word as its rendering engine.

    Campaign Monitor post a very useful summary of all the CSS that will or won't work in which of the email clients: http://www.campaignmonitor.com/css/

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 组策略中的计算机配置策略无法下发
  • ¥15 如何绘制动力学系统的相图
  • ¥15 对接wps接口实现获取元数据
  • ¥20 给自己本科IT专业毕业的妹m找个实习工作
  • ¥15 用友U8:向一个无法连接的网络尝试了一个套接字操作,如何解决?
  • ¥30 我的代码按理说完成了模型的搭建、训练、验证测试等工作(标签-网络|关键词-变化检测)
  • ¥50 mac mini外接显示器 画质字体模糊
  • ¥15 TLS1.2协议通信解密
  • ¥40 图书信息管理系统程序编写
  • ¥20 Qcustomplot缩小曲线形状问题