title: overflow-x: auto not working
body: <p>I have the following CSS and HTML code:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="false" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>#container {
    display: table;
    margin: 0 auto;
  }
  .table-container {
    width: 100%;
    overflow-x: auto;
    _overflow: auto;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div id='container'&gt;
    &lt;div class='table-container'&gt;
      &lt;table&gt;
        &lt;tr&gt;
          &lt;th&gt;Example&lt;/th&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
          &lt;td&gt;blablablablablablablablablablablablablablablablablablablablablablablablabla&lt;/td&gt;
        &lt;/tr&gt;
      &lt;/table&gt;
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>My problem is that the <code>overflow-x: auto</code> is not working because of <code>display: table</code> in main container. I need to keep the <code>display: table</code> property because I want the container div width the same as the content inside it. How to keep overflow-y working using display: table in main container?</p>