title: Equal height columns with CSS
body: <p>I would like to use percentage for my css table. Unfortunately, it doesn't work for me.</p>
  
  <p>What's wrong with this code? Should I use flexbox instead of table? </p>
  
  <p>I would like to use table, because I would like same height columns.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>ul {
    list-style: none;
    margin: 0;
    display: table;
    table-layout: fixed;
    width: 100%;
  }
  
  li {
    width: 50%;
    display: table-cell;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;ul&gt;
    &lt;li&gt;1&lt;/li&gt;
    &lt;li&gt;2&lt;/li&gt;
    &lt;li&gt;3&lt;/li&gt;
    &lt;li&gt;4&lt;/li&gt;
    &lt;li&gt;5&lt;/li&gt;
    &lt;li&gt;6&lt;/li&gt;
  &lt;/ul&gt;</code></pre>
  </div>
  </div>
  </p>