Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p><a href="http://jsfiddle.net/JFLAp/6" rel="nofollow">DEMO</a></p> <p>HTML:</p> <pre><code>&lt;div id="wrapper"&gt; &lt;div id="upperPanel"&gt; &lt;div id="chat"&gt; &lt;ul&gt; &lt;li&gt; &lt;span&gt;Name:&lt;/span&gt; &lt;span&gt;tessadsda da das asd ad &lt;/span&gt; &lt;/li&gt; &lt;li&gt; &lt;span&gt;Name:&lt;/span&gt; &lt;span&gt;tessadsda da das asd ad &lt;/span&gt; &lt;/li&gt; &lt;li&gt; &lt;span&gt;Name:&lt;/span&gt; &lt;span&gt;tessadsda da das asd ad &lt;/span&gt; &lt;/li&gt; &lt;/ul&gt; &lt;/div&gt; &lt;div id="friends"&gt; &lt;ul&gt; &lt;li&gt; &lt;span&gt;fRIEND:&lt;/span&gt; &lt;/li&gt; &lt;li&gt; &lt;span&gt;fRIEND:&lt;/span&gt; &lt;/li&gt; &lt;li&gt; &lt;span&gt;fRIEND:&lt;/span&gt; &lt;/li&gt; &lt;li&gt; &lt;span&gt;fRIEND:&lt;/span&gt; &lt;/li&gt; &lt;/ul&gt; &lt;/div&gt; &lt;/div&gt; &lt;div id="bottomPanel"&gt; &lt;textarea&gt; &lt;/textarea&gt; &lt;input type="submit" value="send" /&gt; &lt;/div&gt; &lt;/div&gt;​​​​​​​​​​​​​ </code></pre> <p>CSS:</p> <pre><code>html,body{ width:100%; height:100%; } body{ position:relative; } #wrapper{ position:absolute; top:0; bottom:0; left:0; right:0; border:1px solid #333; } #upperPanel{ position: absolute; top:0; left:0; right:0; bottom:100px; } #chat{ position: absolute; top:0; bottom:0; left:0; right:200px; background:#666; overflow:auto; } #friends{ position: absolute; top:0; bottom:0; width:200px; right:0; background:#999; overflow:auto; } #friends ul{ text-align:right; } #bottomPanel{ height: 100px; background:#EEE; position:absolute; bottom:0px; left:0px; right:0px; } #bottomPanel textarea{ position:absolute; top:10px; bottom:10px; left:10px; right:120px; resize: none; } #bottomPanel input[type=submit]{ position:absolute; top:10px; bottom:10px; right:10px; width:100px; } </code></pre> <p>​</p>
    singulars
    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.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      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