Tuesday, 15 September 2015

html - Getting Outlook to respect margin-top: 0px on body of an email? -


I have a minor question:

I am emailing a sender and There is no margin on the top of the email - so that an image or flush with the top of the table viewport.

I have tried sticking with the margin-top in HTML email: 0 px and it works fine in Thunderbird, however, when the margin applied to test content in Microsoft Outlook is top of whether this margin There is no way to get rid of it or it is not possible in Outlook.

You & lt; Body & gt; Tag

  & lt; Body topmargin = "0" & ​​gt; Ultimately, however, Outlook is bad for providing CSS and unfortunately is going to get worse with 2010. In the mean time, in-line styles are actually only a style that works in most cases. Will do 


No comments:

Post a Comment