Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <pre><code>div#slyScrollbar_parent { padding: 0px; float: left; height: 500px; width: 16px; border: 1px solid #333; border-left: 0px none; /* Add margin-right to the second element instead of margin-left to the third */ margin-right: 10px; } </code></pre> <p>This seems to do the trick.</p> <p>jsFiddle: <a href="http://jsfiddle.net/jPdbK/" rel="nofollow">http://jsfiddle.net/jPdbK/</a></p> <hr> <p>If you're okay with changing markup, I'd suggest this approach. Put all the divs in a container, let 2 float left and 1 float right. In the background I'd put the 3 column, with margin left and right.</p> <p>Still not very good looking, but it works without any overflow hacks.</p> <p>The HTML</p> <pre><code>&lt;section&gt; &lt;div class='container'&gt; &lt;div id="a"&gt;1&lt;/div&gt;&lt;!-- --&gt;&lt;div id="b"&gt;2&lt;/div&gt;&lt;!-- --&gt;&lt;div id="d"&gt;4&lt;/div&gt; &lt;/div&gt; &lt;div id="c"&gt;Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam era.&lt;/div&gt; &lt;/section&gt; </code></pre> <p>and the CSS</p> <pre><code>* { margin:0; padding:0; } section { width: 100%; } .container { position: absolute; width: 100%; } #a { padding: 0px; display: inline-block; height: 500px; width: 60px; background-color: #bbb; } #b { padding: 0px; display: inline-block; height: 500px; width: 16px; background-color: #ccc; border-left: 0px none; } #c { padding: 0px; display: inline-block; height: 500px; width: auto; background-color: #ddd; margin: 0px 16px 0px 76px; } #d { padding: 0px; float: right; height: 500px; width: 16px; background-color: #eee; } </code></pre> <p>jsFiddle: <a href="http://jsfiddle.net/PTAk5/" rel="nofollow">http://jsfiddle.net/PTAk5/</a></p> <p>Also a js Version: <a href="http://jsfiddle.net/ASnSJ/" rel="nofollow">http://jsfiddle.net/ASnSJ/</a> which <strong><em>I</em></strong> think is the best approach if you want to use all the floats and have a proper markup.</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