在雅虎邮件中的绝对地位



任何在电子邮件模板中分配绝对位置的方法。我正在尝试伪造的位置,但在雅虎邮件中,最大高度0被转换为最小高度0。

<td width="70%" style="" align="">
<div height="0px" style="position:relative;margin-top:0px;
min-height:0px;max-height:0px;">

<div style="margin-left:8% !important;position:relative !important;display:inline-block !important;margin-top:0px;">
</div>


</td>

Faux绝对职位在雅虎运作良好!邮政雅虎确实将height转换为min-height,但没有将max-height转换。下面的例子目前在雅虎的桌面网络邮件中运行良好。("Hello World"div与lorem ipsumdiv重叠。(

<div style="max-height:0;">
<div style="margin-left:8%;">⚠️ Hello World</div>
</div>
<p style="margin:0;">Lorem ipsum dolor sit amet consectetur adipisicing elit. Tempora, accusantium.</p>

如果您仍然有问题,请随时分享您的整个代码。

最新更新