Rich HTML emails in Outlook 2007 and 2010… how do you remove the top margin?

前端 未结 7 732
无人及你
无人及你 2020-12-14 12:16

I have a rich HTML email. I was wondering how, in Outlook 2010 and 2007, you get the table in the layout to sit flush with the edge of the browser?

Have a look at th

7条回答
  •  甜味超标
    2020-12-14 12:26

    Try using margintop="0" marginleft="0" marginright="0" on the tag (updated to full example):

    
    
      Title Tag
      
    
    
    

    You will need to set the width of 600 to whatever the width of your email is.

    There are cross-email client bugs with body tags, and padding/margin values in CSS.

    NB - this is only necessary, and only works, on the body tag.

提交回复
热议问题