title: Centering Table TR's
body: <p>I'm creating a website that displays some content in a table and I want it to always be centered. Its centered if there is 3 TD's it is centered, but I want it too center a TR in the middle of the 3 TD's when it only has 2 TD's.</p>
  
  <p><a href="http://i.stack.imgur.com/Bwd69.png" rel="nofollow">Current</a></p>
  
  <p>I want the Test5 and Test6 to center in the middle of the other TR but I can't seem to figure out how.</p>
  
  <p>My Current code:</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;html&gt;
  
  &lt;style&gt;
    #Center {
      text-align: center;
    }
    #CenterTable {
      text-align: center;
      margin-left: auto;
      margin-right: auto;
      width: 50%;
    }
  &lt;/style&gt;
  
  &lt;div id="Center"&gt;
  
    &lt;p&gt;Testing Centered Table&lt;/p&gt;
  
    &lt;table id="CenterTable"&gt;
  
      &lt;tr&gt;
  
        &lt;td&gt;
          Test1
        &lt;/td&gt;
  
        &lt;td&gt;
          Test2
        &lt;/td&gt;
  
        &lt;td&gt;
          Test3
        &lt;/td&gt;
  
      &lt;/tr&gt;
  
      &lt;tr&gt;
  
        &lt;td&gt;
          Test4
        &lt;/td&gt;
  
        &lt;td&gt;
          Test5
        &lt;/td&gt;
  
      &lt;/tr&gt;
  
    &lt;/table&gt;
  
  &lt;/div&gt;
  
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>