Note that there are some explanatory texts on larger screens.

plurals
  1. POIs it possible to make Chrome, FF and IE9 treat the display values tableXXX the same?
    primarykey
    data
    text
    <p>Please, observe the following simple jsFiddle - <a href="http://jsfiddle.net/mark69_fnd/DaYCa/28/" rel="nofollow noreferrer">http://jsfiddle.net/mark69_fnd/DaYCa/28/</a></p> <p>HTML:</p> <pre><code>&lt;html&gt; &lt;head&gt; &lt;link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/3.7.3/build/cssreset/reset-min.css"&gt; &lt;/head&gt; &lt;body&gt; &lt;div class="container table"&gt; &lt;div class='thead'&gt; &lt;div class='tr'&gt; &lt;div class='td'&gt; &lt;div class='header'&gt;header&lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class='tbody'&gt; &lt;div class='tr'&gt; &lt;div class='td'&gt; &lt;div class='content'&gt;content&lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class='tfoot'&gt; &lt;div class='tr'&gt; &lt;div class='td'&gt; &lt;div class='footer'&gt;footer&lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </code></pre> <p>CSS:</p> <pre><code>html, body { height: 100%; width: 100%; font-family: sans-serif; } .container { height: 100%; width: 100%; background-color: #ddd; display: table; } .thead { display: table-header-group; } .tbody { display: table-row-group; } .tfoot { display: table-footer-group; } .tr { display: table-row; } .td { display: table-cell; } .content { background-color: #bbb; border: solid 1px; height: 100%; } .header { background-color: #999; border: solid 1px red; } .footer { background-color: #999; border: solid 1px green; } </code></pre> <p>Chrome:</p> <p><img src="https://i.stack.imgur.com/ri3ay.png" alt="enter image description here"></p> <p>Firefox and IE9:</p> <p><img src="https://i.stack.imgur.com/IfLY3.png" alt="enter image description here"></p> <p>How do I change the code, so that it looks the same as Chrome on all the three browsers?</p> <p>P.S. Fixed heights can be used for the header and the footer, but not the content.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload