简体   繁体   English

HTML电子邮件单元格填充辅助

[英]Html email cell padding assistance

Need assistance adding padding to the main body text of this emailer so the text does not look quite so tight to the border. 需要帮助,在此电子邮件发送程序的主体文本中添加填充,以使文本看起来与边框不太紧密。

It's probably a simple solution but I can't work out which table to add the cell padding property to. 这可能是一个简单的解决方案,但是我无法计算向哪个表添加单元格填充属性。

live version -> http://garyrevell.co.uk/mercy2013/2013-temp/alt-april-mailer/index-purple-final.html 实时版本-> http://garyrevell.co.uk/mercy2013/2013-temp/alt-april-mailer/index-purple-final.html

Pastebin of the code -> http://pastebin.com/PAbYgqXN 代码的Pastebin-> http://pastebin.com/PAbYgqXN

Help would be much appricated. 帮助将是非常有用的。

Always add padding the the table cell that the content is in. eg: 始终在内容所在的表格单元格中添加填充。例如:

<td style="padding:30px;">
<singleline>your content</singleline>
</td>

It looks like your content however is living outside of tables in divs instead. 看起来您的内容却位于divs表之外。 You should lose the divs and put everything into td sections. 您应该丢掉div,然后将所有内容放入td部分。 Also, don't have a table next to text inside a parent td, instead have a table cell for each (use table rows if stacking them). 另外,在父td内的文本旁边没有表格,而是每个表格都有一个表格单元格(如果堆叠表格行,则使用表格行)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM