如何从HTML电子邮件的Outlook的电子邮件视图周围删除默认填充/边距 [英] How to remove default padding/margin from around the email view of outlook for HTML emails

查看:238
本文介绍了如何从HTML电子邮件的Outlook的电子邮件视图周围删除默认填充/边距的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在大多数版本的Outlook中,我的html电子邮件周围都有一些问题,可以从中删除填充或保证金默认值。我想知道有没有什么可以放入我的HTML电子邮件,以防止填充/边距显示。

I'm having some trouble finding away to remove the padding or margin default values from around my html email in most versions of outlook. I was wondering if there is something that I can put into my HTML email to prevent the padding/margin from showing.

谢谢

推荐答案


$ b

This works:

<body style="margin: 0px; padding: 0px; background-color: #252525" bgcolor="#252525">

只要注意您设置的身体背景颜色,如果转发,将流入电子邮件链。我建议将身体保持白色,并将颜色设置在HTML容器表上以防止这种情况。

Just note whatever you set the body background color to will bleed into the email chain if it is forwarded. I'd suggest leaving the body white and setting the color on a html container table to prevent this.

这篇关于如何从HTML电子邮件的Outlook的电子邮件视图周围删除默认填充/边距的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆