title: Two tables, other one doesn't stay centered?
body: <p>I'm having a problem building my portfolio. So I have my photos inside tables and I've centered them in css. For some reason when I added a header and a new table with new photo the new table isn't centered for some reason. It gets centered when I have it open on the tab and make the tab smaller but when its as big as it can its not. How could I fix it? Heres my 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-css lang-css prettyprint-override"><code>td {
    list-style-image: none;
    list-style-type: none;
    margin: auto;
    display: inline-block;
    position: relative;
    width: 200px;
    height: 200px;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  
  tr {
    padding: 0;
    text-align: center;
  }
  
  .gallery:hover {
    -webkit-box-shadow: 2px 1px 20px 4px #707070;
    margin: 0;
    padding: 0;
    box-shadow: 2px 1px 20px 4px #707070;
  }
  
  img {
    width: auto;
    height: 200px;
    text-align: center;
    clear: none;
    float: left;
    padding: 0;
    margin: 0;
  }
  
  h1 {
    text-align: center;
    font-family: changa-one;
    font-style: normal;
    margin-top: 15px;
    margin-bottom: 15px;
    padding: 0;
    font-weight: 400;
    text-transform: uppercase;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;h1&gt;Photography&lt;/h1&gt;
  &lt;table&gt;
    &lt;tbody&gt;
      &lt;tr&gt;
        &lt;td&gt;&lt;a href="img/1_big.jpg" target="_blank"&gt;&lt;img src="https://placehold.it/500x500" alt="" width="500" height="500" class="gallery"/&gt;&lt;/a&gt;&lt;/td&gt;
  
        &lt;td&gt;&lt;a href="img/2_big.jpg" target="_blank"&gt;&lt;img src="https://placehold.it/500x500" width="500" height="500" alt="" class="gallery"/&gt;&lt;/a&gt;&lt;/td&gt;
  
        &lt;td&gt;&lt;a href="img/3_big.jpg" target="_blank"&gt;&lt;img src="https://placehold.it/500x500" width="500" height="500" alt="" class="gallery"/&gt;&lt;/a&gt;&lt;/td&gt;
  
        &lt;td&gt;&lt;a href="img/4_big.jpg" target="_blank"&gt;&lt;img src="https://placehold.it/500x500" width="500" height="500" alt="" class="gallery"/&gt;&lt;/a&gt;&lt;/td&gt;
  
        &lt;td&gt;&lt;a href="img/5_big.jpg" target="_blank"&gt;&lt;img src="https://placehold.it/500x500" width="500" height="500" alt="" class="gallery"/&gt;&lt;/a&gt;&lt;/td&gt;
  
        &lt;td&gt;&lt;a href="img/6_big.jpg" target="_blank"&gt;&lt;img src="https://placehold.it/500x500" width="500" height="500" alt="" class="gallery"/&gt;&lt;/a&gt;&lt;/td&gt;
  
        &lt;td&gt;&lt;a href="img/8_big.jpg" target="_blank"&gt;&lt;img src="https://placehold.it/500x500" width="500" height="500" alt="" class="gallery"/&gt;&lt;/a&gt;&lt;/td&gt;
  
        &lt;td&gt;&lt;a href="img/9_big.jpg" target="_blank"&gt;&lt;img src="https://placehold.it/500x500" width="500" height="500" alt="" class="gallery"/&gt;&lt;/a&gt;&lt;/td&gt;
  
        &lt;td&gt;&lt;a href="img/10_big.jpg" target="_blank"&gt;&lt;img src="https://placehold.it/500x500" width="500" height="500" alt="" class="gallery"/&gt;&lt;/a&gt;&lt;/td&gt;
  
        &lt;td&gt;&lt;a href="img/11_big.jpg" target="_blank"&gt;&lt;img src="https://placehold.it/500x500" width="500" height="500" alt="" class="gallery"/&gt;&lt;/a&gt;&lt;/td&gt;
  
        &lt;td&gt;&lt;a href="img/12_big.jpg" target="_blank"&gt;&lt;img src="https://placehold.it/500x500" width="500" height="500" alt="" class="gallery"/&gt;&lt;/a&gt;&lt;/td&gt;
  
        &lt;td&gt;&lt;a href="img/13_big.jpg" target="_blank"&gt;&lt;img src="https://placehold.it/500x500" width="500" height="500" alt="" class="gallery"/&gt;&lt;/a&gt;&lt;/td&gt;
      &lt;/tr&gt;
    &lt;/tbody&gt;
  &lt;/table&gt;
  
  &lt;h1&gt;Websites&lt;/h1&gt;
  
  &lt;table&gt;
    &lt;tbody&gt;
      &lt;tr&gt;
        &lt;td&gt;&lt;a href="webs1/index.html" target="_blank"&gt;&lt;img src="https://placehold.it/500x500" alt="" width="500" height="500" class="gallery"/&gt;&lt;/a&gt;&lt;/td&gt;
  
        &lt;td&gt;&lt;a href="webs2/index.html" target="_blank"&gt;&lt;img src="https://placehold.it/500x500" width="500" height="500" alt="" class="gallery"/&gt;&lt;/a&gt;&lt;/td&gt;
  
        &lt;td&gt;&lt;a href="webs3/index.html" target="_blank"&gt;&lt;img src="https://placehold.it/500x500" width="500" height="500" alt="" class="gallery"/&gt;&lt;/a&gt;&lt;/td&gt;
  
        &lt;td&gt;&lt;a href="webs4/index.html" target="_blank"&gt;&lt;img src="https://placehold.it/500x500" width="500" height="500" alt="" class="gallery"/&gt;&lt;/a&gt;&lt;/td&gt;
      &lt;/tr&gt;
    &lt;/tbody&gt;
  &lt;/table&gt;</code></pre>
  </div>
  </div>
  </p>