title: Outlook HTML Signature in GMail App: Gap between <td> Elements
body: <p>I am facing a strange behavior of the GMail App on Android when displaying an HTML Signature created with Outlook 2017 from Mac OS.</p>
  
  <p>First of all, here is what I did:</p>
  
  <ol>
  <li>I created an HTML signature with a simple table layout and opened in a Browser</li>
  <li>I copied the content from the Browser Window into the Signature Panel in Outlook (Outlook -> Settings -> Signature)</li>
  <li>I kept the original formatting after pasting the content</li>
  </ol>
  
  <p>Now the Signature basically looks fine in the Browser, Outlook on Mac and in the iPhone standard Mail App. In Gmail on Android there are very large gaps between the table rows and I cannot find any way to control them. Of course I dod some research and ended up with recommendations discussed <a href="https://stackoverflow.com/questions/27784834/table-gap-issue-in-gmail-app">here</a> and <a href="https://stackoverflow.com/questions/23655317/html-email-spaces-between-tables-gmail-and-outlook">here</a> amongst many other sources. The formatting issues have been adressed in <a href="https://productforums.google.com/forum/#!topic/gmail/Fxt78gN5q5E" rel="nofollow noreferrer">Google Forums</a>. <a href="http://commadot.com/gmail-and-p-msonormal/" rel="nofollow noreferrer">Some People</a> were able to break it down to a specific CSS class MsoNormal added by Outlook, however they are all quite old and the suggestions do not seem to work out for me. I have tried a lot of stuff and ended up with three different versions all with the same or similar results.</p>
  
  <p>The first version uses divs inside the table to structure the text:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;table style='font-family:Arial; cellspacing:0px; cellpadding:0px; padding:0px; margin:0px; border-spacing: 0; line-height:60%;'&gt;
    &lt;tbody&gt;
      &lt;tr&gt;
        &lt;td&gt;
          &lt;img src='http://361nutrition.de/signature/img/dummy.jpg' alt='line' style='width:85px; height:130px; display:block; vertical-align:text-top; line-height:0;' /&gt;
        &lt;/td&gt;
        &lt;td style='width:5px'&gt;&lt;/td&gt;
        &lt;td style='vertical-align:top;'&gt;
          &lt;div style='font-size: 11px; margin:0px; padding:0px;'&gt;
            Peter Pan&lt;br&gt;
            Chief Executive Officer&lt;br&gt;
            &lt;b&gt;The Company&lt;/b&gt;
          &lt;/div&gt;
          &lt;div style='font-size: 9px; margin:0px; padding:0px;'&gt;
            Reach me at:&lt;br&gt;
            peter@thecompany.com&lt;br&gt;
            +00 324 244 20
          &lt;/div&gt;
          &lt;div style='font-size: 9px; margin:0px; padding:0px;'&gt;
            ...or visit me at:&lt;br&gt;
            My Office&lt;br&gt;
            Office Street Nr.&lt;br&gt;
            44556 Officetown
          &lt;/div&gt;
        &lt;/td&gt;
      &lt;/tr&gt;
  
    &lt;/tbody&gt;
  &lt;/table&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>The second uses a table within the table:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;meta charset="UTF-8"&gt;
  &lt;style type="text/css"&gt;
          p.MsoNormal {
              margin: 0px !important;
          }
  &lt;/style&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;table  class='tbl' style='min-width:300px; font-family:Arial; cellspacing:0px; cellpadding:0px; padding:0px; margin:0px; border-spacing: 0; line-height:60%;'&gt;
    &lt;tbody class='tbl_body'&gt;
      &lt;tr class='tbl_tr' style="display: block; white-space: nowrap;"&gt;
        &lt;td class='tbl_td' style="line-height:0; display: inline-block;"&gt;&lt;img src='http://361nutrition.de/signature/img/dummy.jpg' alt='line' style='width:85px; height:130px; display:block; vertical-align:text-top' /&gt;&lt;/td&gt;
        &lt;!--&lt;td style='width:5px; display: inline-block;'&gt;&lt;/td&gt;--&gt;
        &lt;td class='tbl_td' style='vertical-align:top; display: inline-block;'&gt;
          &lt;table class='tbl' style='font-family:Arial; cellspacing:0px; cellpadding:0px; padding:0px; margin:0px; border-spacing: 0; line-height:60%;'&gt;
            &lt;tbody class='tbl_body'&gt;
              &lt;tr class='tbl_tr' style='font-size: 11px; margin:0px; padding:0px; display: block; white-space: nowrap;'&gt;
                &lt;td class='tbl_td' style="display: inline-block;"&gt;Peter Pan&lt;br&gt;Chief Executive Officer&lt;br&gt;&lt;b&gt;The Company&lt;/b&gt;&lt;/td&gt;
              &lt;/tr&gt;
              &lt;tr class='tbl_tr' style='font-size: 11px; margin:0px; padding:0px; display: block; white-space: nowrap; '&gt;
                  &lt;td class='tbl_td' style="display: inline-block;"&gt;Reach me at:&lt;br&gt;peter@thecompany.com&lt;br&gt;+00 324 244 20&lt;/td&gt;
              &lt;/tr&gt;
              &lt;tr class='tbl_tr' style='font-size: 11px; margin:0px; padding:0px; display: block; white-space: nowrap;'&gt;
                &lt;td class='tbl_td' style="display: inline-block;"&gt;...or visit me at:&lt;br&gt;My Office&lt;br&gt;Office Street Nr.&lt;br&gt;44556 Officetown&lt;/td&gt;
              &lt;/tr&gt;
            &lt;/tbody&gt;
          &lt;/table&gt;
        &lt;/td&gt;
      &lt;/tr&gt;
  
    &lt;/tbody&gt;
  &lt;/table&gt;
  &lt;/body&gt;
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>And finally I used a 3 x 2 table layout with the image spanning 3 rows:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
    &lt;meta charset="UTF-8"&gt;
    &lt;style type="text/css"&gt;
            p.MsoNormal {
                margin: 0px !important;
            }
    &lt;/style&gt;
  &lt;/head&gt;
  &lt;body&gt;
    &lt;table style='font-family:Arial; cellspacing:0; cellpadding:0; border:0; border-collapse: collapse; padding:0px; margin:0px; border-spacing: 0; line-height:60%;'&gt;
      &lt;tbody&gt;
        &lt;tr style='margin:0px; padding:0px;'&gt;
          &lt;td rowspan="3" style='line-height:0'&gt;
            &lt;img src='http://361nutrition.de/signature/img/dummy.jpg' alt='line' style='width:85px; height:130px; display:block; vertical-align:text-top' /&gt;
          &lt;/td&gt;
          &lt;td style='font-size: 11px; margin:0px; padding:0px;'&gt;Peter Pan&lt;br&gt;Chief Executive Officer&lt;br&gt;&lt;b&gt;The Company&lt;/b&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr style='margin:0px; padding:0px;'&gt;
          &lt;td style='font-size: 11px; margin:0px; padding:0px;'&gt;Reach me at:&lt;br&gt;peter@thecompany.com&lt;br&gt;+00 324 244 20&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr style='margin:0px; padding:0px;'&gt;
          &lt;td style='font-size: 11px; margin:0px; padding:0px;'&gt;...or visit me at:&lt;br&gt;My Office&lt;br&gt;Office Street Nr.&lt;br&gt;44556 Officetown&lt;/td&gt;
        &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/body&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>In GMail the results for the table approaches look somewhat like this:</p>
  
  <p><a href="https://i.stack.imgur.com/Ko4rl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ko4rl.png" alt="Table Layout"></a></p>
  
  <p>And the div approach somewhat like this:</p>
  
  <p><a href="https://i.stack.imgur.com/AthNr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/AthNr.png" alt="Div Layout"></a></p>
  
  <p>As you can see there are large gaps between the text boxes, although there is no margin, padding, cellspacing or whatsoever.</p>
  
  <p>I have fiddled around with CSS a lot and didn't come up with any solution.</p>
  
  <p>I hope someone can help.</p>
  
  <p>Regards,
  Markus</p>