我几乎完成了 eblasts 的新电子邮件模板,我一直使用带有表格和内联 css 的简单 html。它在 Outlook 和 Yahoo Mail 中呈现良好。但是在 gmail 中和在移动设备上打开时,我设计为按钮尺寸的两个表格呈现不同。它似乎没有读取高度。我怎样才能使尺寸至少紧密地呈现?
<table width="110" align="left" border="0" height="15" style="width:100px; background-color:#EEF1C2; margin-left:auto; margin-right:auto; text-align:center;">
感谢您的任何建议。
最佳答案
您是否尝试过 CSS 属性 min-height
?
关于html - 在 html 电子邮件中呈现表格高度?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8299798/