title: CSS table cell overflow is ignored by FF & Opera
body: <p>I have a three rows CSS table, which is nested in a fixed size div. The table has three rows, the height of first two rows is defined by the contents (I can't give any explicit sizes) and the last row simply takes what's left. The last row has a single child, which is a div, having loads of child <code>divs</code> with <code>display: inline-block</code>. The problem I have is - I the div is always overflowed and I want it to display a vertical scrollbar, which only happens in <code>Chromium</code>. FF &amp; Opera simply ignore <code>overflow-y:scroll</code> and let the content run down (I belive IE is the same I just don't have it). I wonder if the problem can be solved without using javascript and if so how.</p>
  
  <p>I don't mind using <code>HTML5</code> only solution as long as it's supported by the recent versions of all browsers.</p>
  
  <p><strong>Update 1 - Just wanted to make it clear - I can't use explicit sizes for any of the rows as they host controls of unknown height.</strong></p>
  
  <pre><code>&lt;html&gt;
  &lt;body&gt;
      &lt;div style="width: 500px; height: 300px;"&gt;
          &lt;div style="display: table; width: 100%; height: 100%; position: relative; border: 1px solid #ccc;"&gt;
              &lt;div style="display: table-row;"&gt;
                  &lt;div style="display: table-cell; background-color: #ccc;"&gt;Test&lt;/div&gt;
              &lt;/div&gt;   
              &lt;div style="display: table-row;"&gt;
                  &lt;div style="display: table-cell; background-color: white;"&gt;Filter&lt;/div&gt;
              &lt;/div&gt;   
              &lt;div style="display: table-row;"&gt;
                  &lt;div style="display: table-cell; height: 100%;"&gt;
                      &lt;div style="height: inherit; overflow-y: scroll"&gt;
                          &lt;div style="display: inline-block; width: 150px; height: 150px; vertical-align: middle; border: 1px solid #ccc;"&gt;A0&lt;/div&gt;
                          &lt;div style="display: inline-block; width: 150px; height: 150px; vertical-align: middle; border: 1px solid #ccc;"&gt;A1&lt;/div&gt;
                          &lt;div style="display: inline-block; width: 150px; height: 150px; vertical-align: middle; border: 1px solid #ccc;"&gt;A2&lt;/div&gt;
                          &lt;div style="display: inline-block; width: 150px; height: 150px; vertical-align: middle; border: 1px solid #ccc;"&gt;A3&lt;/div&gt;
                          &lt;div style="display: inline-block; width: 150px; height: 150px; vertical-align: middle; border: 1px solid #ccc;"&gt;A4&lt;/div&gt;
                          &lt;div style="display: inline-block; width: 150px; height: 150px; vertical-align: middle; border: 1px solid #ccc;"&gt;A5&lt;/div&gt;
                          &lt;div style="display: inline-block; width: 150px; height: 150px; vertical-align: middle; border: 1px solid #ccc;"&gt;A7&lt;/div&gt;
                          &lt;div style="display: inline-block; width: 150px; height: 150px; vertical-align: middle; border: 1px solid #ccc;"&gt;A8&lt;/div&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;
              &lt;/div&gt;   
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>