Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/ruby/23.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
Outlook向单元格图像添加1px权限_Outlook_Html Email_Newsletter_Email Client - Fatal编程技术网

Outlook向单元格图像添加1px权限

Outlook向单元格图像添加1px权限,outlook,html-email,newsletter,email-client,Outlook,Html Email,Newsletter,Email Client,我正在使用outlook 2013,我想创建电子邮件签名 当我完成编码时,我发现一个1px的间隙正好出现在表格单元格内的图像上 我给了那个单元格一个背景色,看看问题是来自图像还是来自单元格本身 我不知道它是填充物还是透明边框 我在这里和其他网站上搜索了两天,没有找到任何固定的东西 我创建了另一个模板来演示这一差距,下面是我的代码: 表{边框折叠:折叠;mso表lspace:0pt;mso表rspace:0pt;} 表{边框折叠:折叠;mso表lspace:0pt;mso表rspace:0p

我正在使用outlook 2013,我想创建电子邮件签名

当我完成编码时,我发现一个1px的间隙正好出现在表格单元格内的图像上

我给了那个单元格一个背景色,看看问题是来自图像还是来自单元格本身

我不知道它是填充物还是透明边框

我在这里和其他网站上搜索了两天,没有找到任何固定的东西

我创建了另一个模板来演示这一差距,下面是我的代码:


表{边框折叠:折叠;mso表lspace:0pt;mso表rspace:0pt;}

表{边框折叠:折叠;mso表lspace:0pt;mso表rspace:0pt;}
我想试试这个。这并没有消除间隙,但我在td中添加了
align=“left”
,因此间隙将位于右侧,而不是中间。另外,我建议将两张图片保存为一张。这样可以确保它始终正确显示,并加快加载速度,从而节省内存空间


此外,由于图像在白色背景上,可能会将其添加为jpg。对于电子邮件签名,重要的是要尽可能地节省空间,因为有时您会向手机发送邮件,并且会在每次对话中用每个答案再次向您发送签名

你好,Niklas,谢谢你的回复。我想创建电子邮件签名,我发现1px是徽标和水平线之间的间隙。签名,所以我想消除这个间隙。对两个单元格是
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <style type="text/css">
            table { border-collapse:collapse; mso-table-lspace:0pt; mso-table-rspace:0pt; }
        </style>
    </head>
    <body>
        <table width="234" border="0" cellspacing="0" cellpadding="0">
            <tr>
                <td align="left" width="117" height="33" style="border-collapse:collapse;padding:0;margin:0;border:none;">
                    <img src="http://amraymancom.ipage.com/signtures/mazaya/images/mazaya-logo.png" border="0" width="117" height="33" border="0" style="display:block;border:none;"/>
                </td>
                <td align="left" width="117" height="33" style="border-collapse:collapse;padding:0;margin:0;border:none;">
                    <img src="http://amraymancom.ipage.com/signtures/mazaya/images/mazaya-logo.png" border="0" width="117" height="33" border="0" style="display:block;border:none;"/>
                </td>
            </tr>
        </table>
    </body>
</html>