小编Bra*_*rad的帖子

Outlook 不尊重我的“按钮”背景颜色

我的电子邮件内容块在 Outlook 中无法按我希望的方式运行。该块还需要在移动设备上工作,并且在浏览器/桌面上应如下所示:

“浏览器/桌面视图”

在所有浏览器中,这看起来都很完美,除了 Outlook。在 Outlook 中,它从按钮中删除了整个白色背景颜色(实际上将其减少到文本内容),看起来非常糟糕:

“展望 10/13/16 视图”

这是我的盒子代码:

<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
    <td align="center">
        <table bgcolor="#f5f5f5" border="0" cellpadding="0" cellspacing="0" class="w-full" width="640">
            <tr>
                <td width="20"> &nbsp;</td>
                <td align="center">
                    <table border="0" cellpadding="0" cellspacing="0" dir="ltr" width="100%">
                        <tr>
                            <td class="full" dir="ltr" valign="top" width="50%">
                                <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                    <!--TABLE WITH IMAGE PART-->
                                    <tr>
                                        <td height="15" style="font-size: 1px; line-height: 1px;"> &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td align="center"> <img src="http://placehold.it/170x170" style="display: block; border: 0;" width="170"></td>
                                    </tr>
                                    <tr>
                                        <td height="15" style="font-size: 1px; line-height: 1px;"> &nbsp;</td>
                                    </tr> …
Run Code Online (Sandbox Code Playgroud)

html css email outlook html-email

4
推荐指数
1
解决办法
4238
查看次数

标签 统计

css ×1

email ×1

html ×1

html-email ×1

outlook ×1