gpt4 book ai didi

HTML 在 Outlook 中分解,但在浏览器中呈现良好且没有分解

转载 作者:行者123 更新时间:2023-11-28 17:42:41 25 4
gpt4 key购买 nike

我开发了一个 HTML 邮件程序,它必须在 outlook 中呈现,它在所有浏览器中都能正常工作,但在 Outlook 中呈现时会中断。请查看以下链接以获取代码。

http://jsfiddle.net/Z8xFn/

    <body>
<table class="mailer-document" cellpadding="0" cellspacing="0">
<tr>
<td class="header">
<img src="top green and blue lines.jpg" alt="header" />
</td>
</tr>
<tr class="content-bg">
<td>
<p class="welcomecontent">Hi <span class="username">KELLY DEANNA,</span></p>
</td>
</tr>
<tr class="content-bg">
<td>
<p class="welcomecontent"><span>Federation Request has been raised by</span>
<b>Renu V Menon</b> <span>and its in your cart for approval</span></p>
</td>
</tr>
<tr class="content-bg">
<td>
<p class="details">Following are the details of the request for your reference:</p>
</td>
</tr>
</table>
<table class="details-table" cellpadding="0" cellspacing="0">
<tr>
<td class="details-left" width="185px">
<span class="RequestID">
Request ID
</span>
</td>
<td class="details-right" width="auto">
<span class="Details">: 30147633 </span>
</td>
</tr>
<tr>
<td class="details-left" width="185px">
<p class="RequestID">
Associate ID
</p>
</td>
<td class="details-right" width="auto">
<p class="Details">: 394163 </p>
</td>
</tr>
<tr>
<td class="details-left" width="185px">
<p class="RequestID">
Project Name
</p>
</td>
<td class="details-right" width="auto">
<p class="Details">: Domain </p>
</td>
</tr>
<tr>
<td class="details-left" width="185px">
<p class="RequestID">
Domain Name
</p>
</td>
<td class="details-right" width="auto">
<p class="Details">: <a href="#">Domain@tech.com</a> </p>
</td>
</tr>

</table>
</body>

最佳答案

在你的表格中,tr 和 td 标签添加:

border="0"

并将其添加到您的头脑中:

<style type="text/css">
table {border-collapse: collapse;}
</style>

希望对您有所帮助:)

关于HTML 在 Outlook 中分解,但在浏览器中呈现良好且没有分解,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23803372/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com