Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/41.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
HTML电子邮件签名在Mac上Outlook中损坏-在Windows上正常工作?_Html_Css_Macos_Outlook_Html Email - Fatal编程技术网

HTML电子邮件签名在Mac上Outlook中损坏-在Windows上正常工作?

HTML电子邮件签名在Mac上Outlook中损坏-在Windows上正常工作?,html,css,macos,outlook,html-email,Html,Css,Macos,Outlook,Html Email,我已经创建了一个电子邮件签名,并对其进行了测试,它可以在以下方面完美工作:Outlook for Windows 2019、Outlook for iOS、Gmail webapp、Outlook webapp 由于某种原因,当我将它添加到Outlook For Mac 16.29版时,它会崩溃。我把它从我的mac发送到我的iphone,但它根本没有响应 你知道为什么它只在mac电脑上这样,在其他地方工作吗?我该怎么修呢 我有所有的媒体查询,以使其响应。我在表格中进行了编码,所以它在Outloo

我已经创建了一个电子邮件签名,并对其进行了测试,它可以在以下方面完美工作:Outlook for Windows 2019、Outlook for iOS、Gmail webapp、Outlook webapp

由于某种原因,当我将它添加到Outlook For Mac 16.29版时,它会崩溃。我把它从我的mac发送到我的iphone,但它根本没有响应

你知道为什么它只在mac电脑上这样,在其他地方工作吗?我该怎么修呢

我有所有的媒体查询,以使其响应。我在表格中进行了编码,所以它在Outlook中看起来应该很好

<!DOCTYPE html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

    <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Raleway:100,200,400,500,600,700,800,900" />

    <style type="text/css">
         /* Client-Specific styles */
         #outlook a         { padding:0; } /* Force Outlook to provide a "view in browser" menu link. */
         body               { width:100% !important; -webkit-text-size-adjust:100%; -ms-text-size-adjust:100%; margin:0; padding:0; border:0; }

         /* Prevent Webkit and Windows Mobile platforms from changing default font sizes, while not breaking desktop design. */
         .ExternalClass     { width:100%; } /* Force Hotmail to display emails at full width */
         .ExternalClass,
         .ExternalClass p,
         .ExternalClass span,
         .ExternalClass font,
         .ExternalClass td,
         .ExternalClass div { line-height:100%; } /* Force Hotmail to display normal line spacing.*/
         img                { outline:none; text-decoration:none;border:none; -ms-interpolation-mode:bicubic; }
         a img              { border:none; text-decoration:none;border:none; -ms-interpolation-mode:bicubic; }
         p                  { margin:0px 0px !important; }
         table              { border-collapse:collapse; mso-table-lspace:0pt; mso-table-rspace:0pt; }
         table td           { border-collapse:collapse; }

         /* iPad Styles */
         @media only screen and (max-width: 640px) {
             a[href^="tel"], a[href^="sms"] {
                 text-decoration:none;
                 color:#000000;
                 pointer-events:none;
                 cursor:default;
             }
             .mobile_link a[href^="tel"], .mobile_link a[href^="sms"] {
                 text-decoration:default;
                 color:#000000 !important;
                 pointer-events:auto;
                 cursor:default;
             }
         }

         /* iPhone Styles */
         @media only screen and (max-width: 480px) {
             a[href^="tel"], a[href^="sms"] {
                 text-decoration:none;
                 color:#000000;
                 pointer-events:none;
                 cursor:default;
             }
             .mobile_link a[href^="tel"], .mobile_link a[href^="sms"] {
                 text-decoration:default;
                 color:#000000 !important; 
                 pointer-events:auto;
                 cursor:default;
             }
         }

         /* Responsive styles */
        @media only screen and (max-width: 480px) {
            td[class=wrapper] {
                padding-top:0 !important;
                padding-left:0 !important;
                padding-right:0 !important;
            }

            table[class=mobile-view], td[class=mobile-view], img[class=mobile-view] {
                width:320px !important; 
                height:auto !important;    
            }

            td[class=clump] {
                display:block !important;
                padding-left:0 !important;
                padding-right:0 !important;
                width:100% !important;
            }

            td[class=aligncenter] {
                width:300px !important; 
                height:auto !important;
                text-align:center !important;
            }
        }
    </style>
</head>

<body>

<table width="540" border="0" cellspacing="0" cellpadding="0" class="mobile-view" style="border-collapse:collapse; mso-table-lspace:0pt; mso-table-rspace:0pt;">
    <tbody>
        <tr>
            <td style="background;">
                <table width="540" border="0" cellspacing="0" cellpadding="0" class="mobile-view" style="border-collapse:collapse; mso-table-lspace:0pt; mso-table-rspace:0pt;">
                    <tbody>
                        <tr>
                            <td valign="top" align="left" class="clump">
                                <img src="https://i.imgur.com/v1NoHym.jpg" alt="Avatar" border="0" height="200" width="200" style="display:block; outline:none; border:0;" />
                            </td>
                            <td valign="top" align="left" class="clump" style="padding:0 0 0 0;">
                                <table width="100%" border="0" cellspacing="0" cellpadding="0" style="border-collapse:collapse; mso-table-lspace:0pt; mso-table-rspace:0pt;">
                                    <tbody>
                                        <tr>
                                            <td style="padding:15px 0 0 20px;">
                                                <table width="100%" border="0" cellspacing="0" cellpadding="0" style="border-collapse:collapse; mso-table-lspace:0pt; mso-table-rspace:0pt;">
                                                    <tr>
                                                        <td style="font-family:'Raleway', sans-serif, Arial; font-size:22px; line-height:30px; font-weight:800; color:#2f3542;">First Name</td>
                                                    </tr>
                                                    <tr>
                                                        <td style="font-family:'Raleway', sans-serif, Arial; font-size:15px; line-height:22px; font-weight:500; color:#989faf;">Position</td>
                                                    </tr>
                                                </table>
                                            </td>
                                        </tr>

                                        <tr>
                                                <td style="padding:20px 0 0 15px;">
                                                    <table width="100%" border="0" cellspacing="0" cellpadding="0" style="border-collapse:collapse; mso-table-lspace:0pt; mso-table-rspace:0pt;">
                                                        <tbody>
                                                            <tr>
                                                                <td width="40%" class="clump">
                                                                    <table width="100%" border="0" cellspacing="0" cellpadding="0" style="border-collapse:collapse; mso-table-lspace:0pt; mso-table-rspace:0pt;">
                                                                        <tbody>
                                                                            <tr>
                                                                                <td width="28" height="30" valign="top"><img src="https://i.imgur.com/qdSJcZJ.png" alt="Web" border="0" height="22" width="22" style="display:block; border:0; outline:none;" /></td>
                                                                                <td align="left" width="" height="30" valign="top"  style="font-family:'Raleway', sans-serif, Arial; font-size:12px; line-height:24px; font-weight:600; color:#2f3542;"><a href="tel:0800 246 1809" style="text-decoration:none; color:#2f3542;">0000 0000 000</a></td>
                                                                            </tr>
                                                                        </tbody>
                                                                    </table>
                                                                </td>
                                                            </tr>
                                                        </tbody>
                                                    </table>
                                                </td>
                                            </tr>

                                        <tr>
                                            <td style="padding:5px 0 0 15px;">
                                                <table width="100%" border="0" cellspacing="0" cellpadding="0" style="border-collapse:collapse; mso-table-lspace:0pt; mso-table-rspace:0pt;">
                                                    <tbody>
                                                        <tr>              
                                                            <td width="60%" class="clump">
                                                                <table width="100%" border="0" cellspacing="0" cellpadding="0" style="border-collapse:collapse; mso-table-lspace:0pt; mso-table-rspace:0pt;">
                                                                    <tbody>
                                                                        <tr>
                                                                            <td width="28" height="30" valign="top"><img src="https://i.imgur.com/mDkpstX.png" alt="Email" border="0" height="22" width="22" style="display:block; border:0; outline:none;" /></td>
                                                                            <td width="" height="30" valign="top" align="left" style="font-family:'Raleway', sans-serif, Arial; font-size:12px; line-height:24px; font-weight:600; color:#2f3542;"><a href="mailto:info@example.com" style="text-decoration:none; color:#2f3542;">info@example.com</a></td>
                                                                        </tr>
                                                                    </tbody>
                                                                </table>
                                                            </td>
                                                        </tr>
                                                    </tbody>
                                                </table>
                                            </td>
                                        </tr>

                                        <tr>
                                            <td style="padding:5px 0 9px 15px;">
                                                <table width="100%" border="0" cellspacing="0" cellpadding="0" style="border-collapse:collapse; mso-table-lspace:0pt; mso-table-rspace:0pt;">
                                                    <tbody>
                                                        <tr>
                                                            <td width="40%" class="clump">
                                                                <table width="100%" border="0" cellspacing="0" cellpadding="0" style="border-collapse:collapse; mso-table-lspace:0pt; mso-table-rspace:0pt;">
                                                                    <tbody>
                                                                        <tr>
                                                                            <td width="28" height="30" valign="top"><img src="https://i.imgur.com/qdSJcZJ.png" alt="Web" border="0" height="22" width="22" style="display:block; border:0; outline:none;" /></td>
                                                                            <td width="" height="30" valign="top" align="left" style="font-family:'Raleway', sans-serif, Arial; font-size:12px; line-height:24px; font-weight:600; color:#2f3542;"><a href="https://example.com/" style="text-decoration:none; color:#2f3542;">example.com</a></td>
                                                                        </tr>
                                                                    </tbody>
                                                                </table>
                                                            </td>
                                                        </tr>
                                                    </tbody>
                                                </table>
                                            </td>
                                        </tr>

                                    </tbody>
                                </table>
                            </td>
                            <td valign="" align="left" style="background; padding:0 0 0 40px;">
                                <a href="#"><img src="https://i.imgur.com/e1Ykoqm.png" alt="Facebook" height="35" width="35" border="0" style="padding:0 0 3px 0; display:block; border:0; outline:none;" /></a>
                                <a href="#"><img src="https://i.imgur.com/vSFaFlh.png" alt="Twitter" height="35" width="35" border="0" style="padding:0 0 3px 0; display:block; border:0; outline:none;" /></a>
                                <a href="#"><img src="https://i.imgur.com/SAtoqFt.png" alt="Instagram" height="35" width="35" border="0" style="padding:0 0 3px 0; display:block; border:0; outline:none;" /></a>
                                <a href="#"><img src="https://i.imgur.com/L9Z3ciV.png" alt="LinkedIN" height="35" width="35" border="0" style="padding:0 0 3px 0; display:block; border:0; outline:none;" /></a>
                                <a href="#"><img src="https://i.imgur.com/jE3sFh0.png" alt="YouTube" height="35" width="35" border="0" style="padding:0 0 3px 0; display:block; border:0; outline:none;" /></a>
                            </td>

                        </tr>
                    </tbody>
                </table>
            </td>
        </tr>
    </tbody>
</table>
<table width="540" border="0" cellspacing="0" cellpadding="0" class="mobile-view" style="border-collapse:collapse; mso-table-lspace:0pt; mso-table-rspace:0pt;">
        <tbody>
            <tr>
                <td style="background;">
                    <table width="540" border="0" cellspacing="0" cellpadding="0" class="mobile-view" style="border-collapse:collapse; mso-table-lspace:0pt; mso-table-rspace:0pt;">
                        <tbody>
                            <tr>
                                    <td valign="top" align="left" class="clump" style="padding:20px 0 0 20px;">
                                    <img src="https://i.imgur.com/tGGrM3B.jpg" alt="Avatar" border="0" height="120" width="120" style="display:block; outline:none; border:0;" />
                                </td>
                                <td valign="top" align="left" class="clump" style="padding:0 0 0 0;">
                                    <table width="100%" border="0" cellspacing="0" cellpadding="0" style="border-collapse:collapse; mso-table-lspace:0pt; mso-table-rspace:0pt;">
                                        <tbody>
                                            <tr>
                                                <td style="padding:15px 0 0 20px;">
                                                    <table width="100%" border="0" cellspacing="0" cellpadding="0" style="border-collapse:collapse; mso-table-lspace:0pt; mso-table-rspace:0pt;">
                                                        <tr>
                                                            <td style="font-family:'Raleway', sans-serif, Arial; font-size:11px; line-height:22px; font-weight:500; color:#989faf;">This message and any attachments are confidential and intended for the named addressee(s) only. If you have received this message in error, please notify the sender then delete the message. Any unauthorized modification, use or dissemination is prohibited. The sender shall not be liable for this message if it has been modified, altered, falsified, infected by a virus or even edited or disseminated without authorization. </td>
                                                        </tr>
                                                    </table>
                                                </td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </td>

                            </tr>
                        </tbody>
                    </table>
                </td>
            </tr>
        </tbody>
    </table>

</body>
</html>

/*特定于客户端的样式*/
#outlook a{padding:0;}/*强制outlook提供“浏览器中的视图”菜单链接*/
正文{宽度:100%!重要;-webkit文本大小调整:100%;-ms文本大小调整:100%;边距:0;填充:0;边框:0;}
/*防止Webkit和Windows Mobile平台更改默认字体大小,同时不破坏桌面设计*/
.ExternalClass{width:100%;}/*强制Hotmail以全宽显示电子邮件*/
.外部类,
.外部类别p,
.ExternalClass span,
.ExternalClass字体,
.ExternalClass td,
.ExternalClass div{line height:100%;}/*强制Hotmail显示正常行距*/
img{大纲:无;文本装饰:无;边框:无;-ms插值模式:双三次;}
img{border:none;文本装饰:none;border:none;-ms插值模式:双三次;}
p{margin:0px 0px!重要;}
表{边框折叠:折叠;mso表lspace:0pt;mso表rspace:0pt;}
表td{边框折叠:折叠;}
/*iPad风格*/
@仅介质屏幕和(最大宽度:640像素){
a[href^=“电话”]、a[href^=“短信”]{
文字装饰:无;
颜色:#000000;
指针事件:无;
游标:默认值;
}
.mobile_link a[href^=“tel”],.mobile_link a[href^=“sms”]{
文本装饰:默认;
颜色:#000000!重要;
指针事件:自动;
游标:默认值;
}
}
/*iPhone风格*/
@仅介质屏幕和(最大宽度:480px){
a[href^=“电话”]、a[href^=“短信”]{
文字装饰:无;
颜色:#000000;
指针事件:无;
游标:默认值;
}
.mobile_link a[href^=“tel”],.mobile_link a[href^=“sms”]{
文本装饰:默认;
颜色:#000000!重要;
指针事件:自动;
游标:默认值;
}
}
/*反应型风格*/
@仅介质屏幕和(最大宽度:480px){
td[class=wrapper]{
填充顶部:0!重要;
左侧填充:0!重要;
右边填充:0!重要;
}
表[class=mobile view],td[class=mobile view],img[class=mobile view]{
宽度:320px!重要;
高度:自动!重要;
}
td[类=丛]{
显示:块!重要;
左侧填充:0!重要;
右边填充:0!重要;
宽度:100%!重要;
}
td[类别=校准中心]{
宽度:300px!重要;
高度:自动!重要;
文本对齐:居中!重要;
}
}
名字
位置