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
精彩评论