search

Home  >  Q&A  >  body text

java - HTML邮件有多出来的空白区域,如何处理?

用java写的发送HTML邮件,样式都已经把边距设置为0了,但是还是有大块的空白,这个要怎么去掉呢?

阿神阿神2884 days ago1298

reply all(1)I'll reply

  • 怪我咯

    怪我咯2017-04-18 10:54:17

    ①HTML Email


    ②Email source code


    ③ It can be seen that the essence of HTML email is actually sending an html page.
    The blank space of the email must be the blank space of the page, so you have to find the html template where you send the email, and then remove the blank space. If this is a public file, you need to pay attention to that you often only use your part, which is still largely the same. There will be a common layout file or the html of the main template that controls all styles, so you have to find it carefully

    reply
    0
  • Cancelreply