Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I think this is what you were looking to do?</p> <p><strong>CSS</strong>:</p> <pre class="lang-css prettyprint-override"><code> * { margin: 0; padding: 0; border: 0; outline: 0; font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; } a { transition: color 1s; -moz-transition: color 1s; /* Firefox 4 */ -webkit-transition: color 1s; /* Safari and Chrome */ -o-transition: color 1s; /* Opera */ } html { background-color: #FFF; background-image: -moz-linear-gradient(left , #BCBCBC 0%, #FFFFFF 10%, #FFFFFF 90%, #BCBCBC 100%); background-image: -webkit-gradient( linear, left top, right top, color-stop(0, #BCBCBC), color-stop(0.1, #FFFFFF), color-stop(0.9, #FFFFFF), color-stop(1, #BCBCBC) ); height: 100%; width: 100%; } body { height: 100%; overflow-y: scroll; position: relative; width: 100%; } #footer { background: #ccc; clear: both; min-height: 150px; padding-top: 10px; text-align: center; } #header { background-color: #6666ff; border-bottom: 1px solid #3333ff; box-shadow: 0px 5px 10px rgba(50, 50, 50, 0.5); height:39px; position:fixed; width:100%; z-index:99; } #leftmenu { margin-left:-75px; height:100%; width:75px; text-align:center; position:fixed; border-right:15px solid #999fff; display:block; background-color:#FFF; background-image: -moz-linear-gradient(left , #f5f5f5 0%, #f5f5f5 95%, #e5e5e5 100%); background-image: -webkit-gradient( linear, left top, right top, color-stop(0, #e5e5e5), color-stop(0.5, #f5f5f5), color-stop(0.95, #f5f5f5), color-stop(1, #e5e5e5) ); background-repeat:no-repeat; box-shadow:0px 0px 10px rgba(50, 50, 50, 0.5); transition: margin-left 0.3s; -moz-transition: margin-left 0.3s; /* Firefox 4 */ -webkit-transition: margin-left 0.3s; /* Safari and Chrome */ -o-transition: margin-left 0.3s; /* Opera */ z-index:98; } #maincontent { background: #ccc; float: left; position: relative; width:950px; } #maincontent .post { background: #eee; width:625px; } #sidebar { background: #f00; bottom: 0; position: absolute; right: 0; top: 0; width: 300px; } #wrapper { height: 100%; margin:0px auto; padding-top:50px; width:950px; } </code></pre> <p><br /><br /><hr /><br /><br /> <strong>HTML</strong>: </p> <pre class="lang-html prettyprint-override"><code>&lt;div id="header"&gt; HEADER &lt;/div&gt; &lt;div id="leftmenu"&gt; this is a fixed floating menu to the left &lt;/div&gt; &lt;div id="wrapper"&gt; &lt;div id="maincontent"&gt; &lt;div class="post"&gt; This is my content area. multiple post divs will be here &lt;/div&gt; &lt;div class="post"&gt; This is my content area. multiple post divs will be here &lt;/div&gt; &lt;div class="post"&gt; This is my content area. multiple post divs will be here &lt;/div&gt; &lt;div class="post"&gt; This is my content area. multiple post divs will be here &lt;/div&gt; &lt;div class="post"&gt; This is my content area. multiple post divs will be here &lt;/div&gt; &lt;div id="sidebar"&gt; Yep... this is where the trouble is; It won't go 100%. &lt;/div&gt; &lt;/div&gt;&lt;!--maincontent--&gt; &lt;/div&gt;&lt;!--wrapper--&gt; &lt;div id="footer"&gt; FOOTER &lt;/div&gt; </code></pre>
    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.
 

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