Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>This appears to be just a simple case of the division going back behind the floated content. Most people don't realize that just because there is floated content there, the division <strong>still expands back behind it</strong> all the way to the edge, like it normally would if the floated content <em>wasn't</em> there.</p> <p>That division is taking up its maximum amount of available space like it is expected too. The floated content is only pushing the content, which at this point, there isn't any. Making your sidebar partially opaque, this issue becomes visible as you can see that box behind your image now. A quick fix, per say, would be to add a margin to the division to push it out from behind the sidebar, like so:</p> <pre><code>.header { margin-left: 173px; /* The width of your sidebar */ } </code></pre> <p>Note, however, that you would have to apply this margin to the left side of all your block-level elements that need pushed out from under. So it would make sense to put all the right content into a single box that gets pushed out, to prevent confusion.</p> <hr> <p><strong>Edit:</strong> The reason your black background doesn't pull through on the sidebar image is that you're setting it's background to light grey here:</p> <pre><code>background: url('side1.png') lightgray 10% 50%; </code></pre> <p>This will put a light grey background behind the image rather than letting the transparent part of your image go through to whatever is behind it. Try removing it:</p> <pre><code>background: url('side1.png') 10% 50%; </code></pre> <p>See the <a href="http://jsfiddle.net/L4PNX/1/" rel="nofollow">jsFiddle example</a>.</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.
 

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