用于签名html的行表中不需要的空间

用于签名html的行表中不需要的空间,html,row,padding,signature,css-tables,Html,Row,Padding,Signature,Css Tables,我正在给我的老板发电子邮件签名。所以我把签名上传到我的网站上,让他复制并粘贴到他的MS Outlook中。在html中,当我尝试测试签名时,它看起来很好,但当他将其粘贴到Outlook中时,图像和文本之间存在不需要的空间 下面是它的外观: 以下是他身上的情况: 这是我的密码: <!DOCTYPE html> <html> <head> <style> body { font-si

我正在给我的老板发电子邮件签名。所以我把签名上传到我的网站上,让他复制并粘贴到他的MS Outlook中。在html中,当我尝试测试签名时,它看起来很好,但当他将其粘贴到Outlook中时,图像和文本之间存在不需要的空间

下面是它的外观:

以下是他身上的情况:

这是我的密码:

 <!DOCTYPE html>
      <html>
      <head>
      <style>
      body {
        font-size:12px;
        font-family:  Arial;
      }
      /*table, td, th {
          border: 1px solid black;
      }*/

      table {
          width: 580px;
      }

      th {
          text-align: left;
      }
      p {
        font-size:10px;
      }
      </style>
      </head>
      <body>

      <h2>Highlight + Copy + Paste</h2>

      <table cellpading="0" cellspacing="0">

        <tr>
          <td rowspan="5" width="194px"><img style="display:block; border-collapse:collapse;" src="image.png"></td>
          <td colspan="2" style="font-size:18px; padding:5px"><b>Name</b><br>
            <span style="font-size:12px"><i>V.P. of Business Development</i></span></td>

        </tr>


        <tr>
          <td width="150px" style="padding:5px;"><img src="http://i795.photobucket.com/albums/yy239/spacebitss/phone.jpg">+000000000</td>
          <td><img src="http://i795.photobucket.com/albums/yy239/spacebitss/fax.jpg"> +000000000</td>
        </tr>

        <tr>
          <td style="padding:5px;"><img src="http://i795.photobucket.com/albums/yy239/spacebitss/mail.jpg"> email</td>
          <td><img src="http://i795.photobucket.com/albums/yy239/spacebitss/cell.jpg"> +000000000</td>
      </tr>

        <tr>
          <td style="padding:5px;"><img src="http://i795.photobucket.com/albums/yy239/spacebitss/skype.jpg"> skype</td>
          <td><img src="http://i795.photobucket.com/albums/yy239/spacebitss/web.jpg"> website</td>

      </tr>
        <tr style="padding:5px;">
           <td colspan="2"><img src="http://i795.photobucket.com/albums/yy239/spacebitss/add.jpg"> address          </td>

      </tr>
      </tr>
        <tr>
           <td colspan="3"><p style="color:gray;">This message is only for the use of the person(s) for whom it is intended. It may contain confidential information.<br> 
      The unauthorized use, copying, distribution, or disclosure of this e-mail or any of its contents by anyone other than the intended recipient is unauthorized and unlawful. 
      If you have received this e-mail in error, please notify the sender immediately and destroy all copies of this transmission. 
      Thank you.  <br> <span style="color:green; font-size:11px;"><img src="http://i795.photobucket.com/albums/yy239/spacebitss/tree.png"> Please think of the environment before you consider printing this e-mail</span></p>  
      </td>

      </tr>
      </table>  

身体{
字体大小:12px;
字体系列:Arial;
}
/*表,td,th{
边框:1px纯黑;
}*/
桌子{
宽度:580px;
}
th{
文本对齐:左对齐;
}
p{
字体大小:10px;
}
突出显示+复制+粘贴
名称
业务发展副总裁 +000000000 +000000000 电子邮件 +000000000 skype 网站 地址

此消息仅供其目标用户使用。它可能包含机密信息。
非预期收件人未经授权使用、复制、分发或披露本电子邮件或其任何内容均为未经授权和非法行为。 如果您错误地收到此电子邮件,请立即通知发件人并销毁此传输的所有副本。 多谢各位<在考虑打印这封电子邮件

之前,请考虑一下环境。
您提供的代码是:

  • 重复(您有相同的签名两次)
  • 包含非标准属性
  • 包含非标准属性值
  • 换句话说,我怀疑是否有人会试图为您修复此代码。我建议您使用以下工具从头开始:


    您提供的代码是:

  • 重复(您有相同的签名两次)
  • 包含非标准属性
  • 包含非标准属性值
  • 换句话说,我怀疑是否有人会试图为您修复此代码。我建议您使用以下工具从头开始: