Outlook 2007/2010在HTML电子邮件中添加了随机换行符/空白

Outlook 2007/2010在HTML电子邮件中添加了随机换行符/空白,outlook,whitespace,html-email,outlook-2007,line-breaks,Outlook,Whitespace,Html Email,Outlook 2007,Line Breaks,**编辑,该问题仅存在于Outlook Web App的预览窗格中** 我已经尝试了几乎所有的方法,但我似乎无法消除Outlook 2007/2010在屏幕右侧的预览框中呈现的空白/换行符。当您双击收件箱列表中的电子邮件时,HTML将完美加载。但是,当它显示在“拆分收件箱列表/电子邮件预览”窗口中时,会生成换行符/空白 我试过书中的每一个技巧。边框折叠,边框=0,显示:块,单元格间距/单元格填充:0!重要的,等等。什么都不起作用 这就是我所抱怨的。(为了隐私,我把所有东西都遮住了): 209.6

**编辑,该问题仅存在于Outlook Web App的预览窗格中**

我已经尝试了几乎所有的方法,但我似乎无法消除Outlook 2007/2010在屏幕右侧的预览框中呈现的空白/换行符。当您双击收件箱列表中的电子邮件时,HTML将完美加载。但是,当它显示在“拆分收件箱列表/电子邮件预览”窗口中时,会生成换行符/空白

我试过书中的每一个技巧。边框折叠,边框=0,显示:块,单元格间距/单元格填充:0!重要的,等等。什么都不起作用

这就是我所抱怨的。(为了隐私,我把所有东西都遮住了):

  • 209.67.20.161/email/linebreaks.png
  • 209.67.20.161/email/linebreaks2.png
  • 209.67.20.161/email/linebreaks3.png
  • 这可能是本文中提到的“打印页面限制(Microsoft Word)”:

    www.emailonacid.com/blog/details/C13/horizontal\u space\u issues\u in\u outlook\u 2007\u和\u 2010

    但是,我不这么认为,因为有些换行符彼此非常接近

    顺便说一句,我正在photoshop中剪切一幅图像,并为网络设备保存

    以下是切片图像:

    做我的救世主

    链接到我的HTML:


    您可以使用ctrlq.org/HTML-mail将HTML电子邮件发送到自己的outlook收件箱,并在选择HTML编辑器后将“我的HTML”的源代码复制粘贴到收件箱中。

    如本例所示设置HTML电子邮件的样式,它将完美地呈现在所有主要客户机上,即使是像lotus notes这样的旧客户机上

        <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
            <html xmlns="http://www.w3.org/1999/xhtml">
            <head>
            <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
            <title>Untitled Document</title>
    
    <style media="all" type="text/css">
    table td
    {
    border-collapse: collapse;
    }
    </style>
        </head>
    
        <body>
        <table width="680" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td width="20" align="left" valign="top" rowspan="2" bgcolor="#FFFFFF" style="font-size: 10px; font-family: arial; line-height:170px;">&nbsp;</td>
                <td width="300" height="170" rowspan="2" align="left" valign="top">
                    <img src="another image" alt="" width="300" height="170" border="0"></td>
                <td width="33" align="left" valign="top" bgcolor="#FFFFFF" style="font-size: 10px; font-family: arial; line-height:140px;">&nbsp;</td>
                <td width="327" colspan="2" align="left" valign="top" bgcolor="#FFFFFF" style="font-size: 14px; font-family: arial; color:#5D5B5C; line-height: 16px;">some exemple text here</td>
            </tr>
            <tr>
                <td width="33" bgcolor="#FFFFFF" style="font-size: 10px; font-family: arial; line-height:30px;">&nbsp;</td>
                <td width="138" height="30" align="left" valign="top"><a href="some link here" target="_blank"><img src="image here" alt="details" width="138" height="30" border="0"></a></td>
                <td width="189" bgcolor="#FFFFFF" style="font-size: 10px; font-family: arial; line-height:30px;">&nbsp;</td>
            </tr>
        </table>
        </body>
        </html>
    
    
    无标题文件
    表td
    {
    边界塌陷:塌陷;
    }
    这里有一些示例文本
    

    这里是另一篇文章的链接,我在这里解释了如何使用空TD单元而不是间隔

    像本例中那样设计html电子邮件,它将在所有主要客户机上完美呈现,即使是像lotus notes这样的旧客户机

        <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
            <html xmlns="http://www.w3.org/1999/xhtml">
            <head>
            <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
            <title>Untitled Document</title>
    
    <style media="all" type="text/css">
    table td
    {
    border-collapse: collapse;
    }
    </style>
        </head>
    
        <body>
        <table width="680" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td width="20" align="left" valign="top" rowspan="2" bgcolor="#FFFFFF" style="font-size: 10px; font-family: arial; line-height:170px;">&nbsp;</td>
                <td width="300" height="170" rowspan="2" align="left" valign="top">
                    <img src="another image" alt="" width="300" height="170" border="0"></td>
                <td width="33" align="left" valign="top" bgcolor="#FFFFFF" style="font-size: 10px; font-family: arial; line-height:140px;">&nbsp;</td>
                <td width="327" colspan="2" align="left" valign="top" bgcolor="#FFFFFF" style="font-size: 14px; font-family: arial; color:#5D5B5C; line-height: 16px;">some exemple text here</td>
            </tr>
            <tr>
                <td width="33" bgcolor="#FFFFFF" style="font-size: 10px; font-family: arial; line-height:30px;">&nbsp;</td>
                <td width="138" height="30" align="left" valign="top"><a href="some link here" target="_blank"><img src="image here" alt="details" width="138" height="30" border="0"></a></td>
                <td width="189" bgcolor="#FFFFFF" style="font-size: 10px; font-family: arial; line-height:30px;">&nbsp;</td>
            </tr>
        </table>
        </body>
        </html>
    
    
    无标题文件
    表td
    {
    边界塌陷:塌陷;
    }
    这里有一些示例文本
    

    这里是另一篇文章的链接,我在这里解释了如何使用空TD单元而不是间隔

    尝试在
    中使用
    style=“line height:您的图像大小px;”
    ;另外,在图像标记内部使用
    style=“display:block;”“

    尝试在
    中使用
    style=“line height:您的图像大小px;”“
    ;另外,在图像标记中使用
    style=“display:block;”

    我从未对html电子邮件使用过leftmargin topmargin。你应该删除它们,而且我还认为你对td有一个不必要的高度,因为图像有它自己的高度。你也可以删除td高度。我从来没有在html电子邮件中使用过leftmargin topmargin。你应该删除它们,而且我还认为你对td有一个不必要的高度,因为图像有它自己的高度。您也可以删除td高度。