2016-08-05 8 views
1

私の上司のメール署名をしています。だから、私は自分のウェブサイトに署名をアップロードし、彼にそれをコピーさせ、彼のMS Outlookに貼り付けるだけです。私はそれをテストしようとすると、htmlで署名がうまく見える、それはまた、しかし、彼は彼のOutlookに貼り付けているときには、画像とテキストの間にこの不要なスペースがあります。ここで署名用htmlの行テーブルの不要なスペース

は、見えるようになっています方法は次のとおりです。

This is how it looks on the web and in my outlook

ここで、それは彼の上に回しています方法は次のとおりです。

Unwanted space in between logo and text

ここに私のコードです:

<!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> 

答えて

0

コードあなたが提供したのは:

  1. 重複している(同じ署名が2回あります)。
  2. 非標準の属性が含まれています。
  3. 標準以外の属性値が含まれています。

つまり、誰でもこのコードを修正しようとします。

関連する問題