title: Table in email not centered in MS Outlook
body: <p>I use the following mark-up in an HTML email to center a table. It works fine in most email clients but for some reason, in Outlook, the table appears <strong>left aligned</strong>, even though I have used margin auto on the left and right. Is there anything I am doing wrong?</p>
  
  <pre><code> &lt;table class="email-survey-type type_question" style=" width: 80%; text-align: center;  margin: 0 auto 20px auto;;" bgcolor="#fff" border="0" cellpadding="0" cellspacing="0"&gt;
  </code></pre>
  
  <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;div style="font-family: 'Helvetica Nueue', Arial, sans-serif; padding: 20px; background: #fff;"&gt;
  
      &lt;div style="font-family:'Helvetica Nueue', Arial, sans-serif; background: #fff; max-width: 550px; margin: 0 auto;"&gt;
          
          
      &lt;style type="text/css"&gt;
          @media only screen and (min-width: 430px) { .maxW { width:400px !important; } }
        &lt;/style&gt;
          
              
              &lt;div class="maxW" style="max-width:400px;margin: 0 auto;"&gt;
  
                     
                     &lt;/div&gt;&lt;table width="100%" bgcolor="#fff" border="0" cellpadding="0" cellspacing="0"&gt;
                 &lt;tbody&gt;&lt;tr style="text-align: center;"&gt;
  
                     &lt;!--[if (gte mso 9)|(IE)]&gt;&lt;table width="400" align="center" cellpadding="0" cellspacing="0" border="0"&gt;&lt;tr&gt;&lt;td&gt;&lt;![endif]--&gt;
                     &lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
                     
                     &lt;table class="email-survey-type type_question" style=" width: 95%; text-align: center; margin: 0 auto; " bgcolor="#fe5777" border="0" cellpadding="0" cellspacing="0"&gt;
                         &lt;tbody&gt;&lt;tr&gt;
                             
                                 
                                  &lt;td&gt;
                                      &lt;a href="#"&gt;
                                          &lt;img alt="0" src="https://upload.wikimedia.org/wikipedia/commons/thumb/f/fa/Apple_logo_black.svg/340px-Apple_logo_black.svg.png" width="60" style="max-width: 60px; width:60px; color: #c0392b; font-weight: bold; font-size: 16px; line-height: 50px; text-align: center;"&gt;
                                      &lt;/a&gt;
                                  &lt;/td&gt;
                                 
                             
                                 
                             
                                 
                                  &lt;td&gt;
                                      &lt;a href="#"&gt;
                                          &lt;img alt="2" src="https://upload.wikimedia.org/wikipedia/commons/thumb/f/fa/Apple_logo_black.svg/340px-Apple_logo_black.svg.png" width="60" style="max-width: 60px; width:60px; color: #e74c3c; font-weight: bold; font-size: 16px; line-height: 50px; text-align: center;"&gt;
                                      &lt;/a&gt;
                                  &lt;/td&gt;
                                 
                             
                                 
                             
                                 
                                  &lt;td&gt;
                                      &lt;a href="#"&gt;
                                          &lt;img alt="4" src="https://upload.wikimedia.org/wikipedia/commons/thumb/f/fa/Apple_logo_black.svg/340px-Apple_logo_black.svg.png" width="60" style="max-width: 60px; width:60px; color: #f65c4c; font-weight: bold; font-size: 16px; line-height: 50px; text-align: center;"&gt;
                                      &lt;/a&gt;
                                  &lt;/td&gt;
                                 
                             
                                 
                             
                                 
                                  &lt;td&gt;
                                      &lt;a href="#"&gt;
                                          &lt;img alt="6" src="https://upload.wikimedia.org/wikipedia/commons/thumb/f/fa/Apple_logo_black.svg/340px-Apple_logo_black.svg.png" width="60" style="max-width: 60px; width:60px; color: #e76430; font-weight: bold; font-size: 16px; line-height: 50px; text-align: center;"&gt;
                                      &lt;/a&gt;
                                  &lt;/td&gt;
                                 
                             
                                 
                             
                                 
                                  &lt;td&gt;
                                      &lt;a href="#"&gt;
                                          &lt;img alt="8" src="https://upload.wikimedia.org/wikipedia/commons/thumb/f/fa/Apple_logo_black.svg/340px-Apple_logo_black.svg.png" width="60" style="max-width: 60px; width:60px; color: #2ecc71; font-weight: bold; font-size: 16px; line-height: 50px; text-align: center;"&gt;
                                      &lt;/a&gt;
                                  &lt;/td&gt;
                                 
                             
                                 
                             
                                 
                                  &lt;td&gt;
                                      &lt;a href="#"&gt;
                                          &lt;img alt="10" src="https://upload.wikimedia.org/wikipedia/commons/thumb/f/fa/Apple_logo_black.svg/340px-Apple_logo_black.svg.png" width="60" style="max-width: 60px; width:60px; color: #1abc9c; font-weight: bold; font-size: 16px; line-height: 50px; text-align: center;"&gt;
                                      &lt;/a&gt;
                                  &lt;/td&gt;
                                 
                             
                         &lt;/tr&gt;
                     &lt;/tbody&gt;&lt;/table&gt;
                     &lt;table class="email-survey-type type_question" style=" width: 80%; text-align: center;  margin: 0 auto 20px auto;;" bgcolor="#fff" border="0" cellpadding="0" cellspacing="0"&gt;
                         &lt;tbody&gt;&lt;tr&gt;
                            
                                 
                             
                                 
                                  &lt;td&gt;
                                      &lt;a href="#"&gt;
                                          &lt;img alt="1" src="https://upload.wikimedia.org/wikipedia/commons/thumb/f/fa/Apple_logo_black.svg/340px-Apple_logo_black.svg.png" width="60" style="max-width: 60px; width:60px; color: #c0392b; font-weight: bold; font-size: 16px; line-height: 50px; text-align: center;"&gt;
                                      &lt;/a&gt;
                                  &lt;/td&gt;
                                 
                             
                                 
                             
                                 
                                  &lt;td&gt;
                                      &lt;a href="#"&gt;
                                          &lt;img alt="3" src="https://upload.wikimedia.org/wikipedia/commons/thumb/f/fa/Apple_logo_black.svg/340px-Apple_logo_black.svg.png" width="60" style="max-width: 60px; width:60px; color: #e74c3c; font-weight: bold; font-size: 16px; line-height: 50px; text-align: center;" &gt;
                                      &lt;/a&gt;
                                  &lt;/td&gt;
                                 
                             
                                 
                             
                                 
                                  &lt;td&gt;
                                      &lt;a href="#"&gt;
                                          &lt;img alt="5" src="https://upload.wikimedia.org/wikipedia/commons/thumb/f/fa/Apple_logo_black.svg/340px-Apple_logo_black.svg.png" width="60" style="max-width: 60px; width:60px; color: #e76430; font-weight: bold; font-size: 16px; line-height: 50px; text-align: center;" &gt;
                                      &lt;/a&gt;
                                  &lt;/td&gt;
                                 
                             
                                 
                             
                                 
                                  &lt;td&gt;
                                      &lt;a href="#"&gt;
                                          &lt;img alt="7" src="https://upload.wikimedia.org/wikipedia/commons/thumb/f/fa/Apple_logo_black.svg/340px-Apple_logo_black.svg.png" width="60" style="max-width: 60px; width:60px; color: #2ecc71; font-weight: bold; font-size: 16px; line-height: 50px; text-align: center;" &gt;
                                      &lt;/a&gt;
                                  &lt;/td&gt;
                                 
                             
                                 
                             
                                 
                                  &lt;td&gt;
                                      &lt;a href="#"&gt;
                                          &lt;img alt="9" src="https://upload.wikimedia.org/wikipedia/commons/thumb/f/fa/Apple_logo_black.svg/340px-Apple_logo_black.svg.png" width="60" style="max-width: 60px; width:60px; color: #1abc9c; font-weight: bold; font-size: 16px; line-height: 50px; text-align: center;"&gt;
                                      &lt;/a&gt;
                                  &lt;/td&gt;
                                 
                             
                                 
                             
                         &lt;/tr&gt;
                     &lt;/tbody&gt;&lt;/table&gt;
  
                     &lt;/div&gt;
                     &lt;!--[if (gte mso 9)|(IE)]&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;![endif]--&gt;
                  
              
  
              
              
  
  
              
                &lt;table width="100%" bgcolor="#fff" border="0" cellpadding="0" cellspacing="0"&gt;
                  &lt;tbody&gt;&lt;tr style=" "&gt;
                      &lt;td style="padding: 20px;"&gt;&lt;p style="text-align: center; margin: 0 0 5px; line-height: 1;font-family:'Helvetica Nueue', Arial, sans-serif;font-size:18px;" class="bottom_text_en-target show-parent-2"&gt;Lorem ipsum dolor&lt;/p&gt;&lt;/td&gt;
                  &lt;/tr&gt;
                  
              &lt;/tbody&gt;&lt;/table&gt;
          
  
          
  
          &lt;!-- End links --&gt;
      &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>