开发者

Hotmail Problem with margin top

I have an element in my email template:

<div style="height:20px; width:320px; margin-top:370px; margin-left:240px;"&开发者_Python百科gt;
</div>

In gmail every thing is ok. But in hotmail margin-top:370px; not working. I cant see margin-top:370px; in firebug. How can I solve the problem with hotmail.

Thanks in advance


Hotmail doesn't seem to support margin-top or margin. Avoid those properties. Try to fix so that you use padding-top etc. Or convert everything to margin-bottom.

  • http://www.emailonacid.com/blog/details/C13/7_tips_and_tricks_regarding_margins_and_padding_in_html_emails
  • http://www.forestpath.org/notes/html/email


insert an empty element above this div, that way margin will work

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜