Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Not entirely sure what you are asking, I looked at the link you provided, are you trying to accomplish what you have at the top and what you have is what's on the bottom?</p> <p>Regardless, you have this:</p> <pre><code>#bg { max-width: 100%; position: relative; z-index: auto; } #childbox2 { width: 34%; min-height: 500px; float: right; background: rgba(255, 255, 255, 0.6); position: relative; z-index: auto; } </code></pre> <p>Try this:</p> <pre><code>#bg { max-width: 100%; position: relative; z-index: 1; } #childbox2 { width: 34%; min-height: 500px; float: right; background: rgba(255, 255, 255, 0.6); position: absolute; top: 0; right: 0; z-index: 2; } </code></pre> <p>your z-index is like you mentioned in your original post, it's basically the stacking order. However, you have auto for both, the browser may not recognize that (depending on which browser you use)...So rather than having auto for both your child elements, put the actual order you want them to appear as. So for example, if you want the #bg to be underneath your #childbox2, simply put z-index: 1 for your #bg, and z-index: 2 as your #childbox2 which would mean that your #childbox2 will be on top of #bg....</p> <p>Also, try not to use % (percentages) for width and height, use pixels - from my experience pixels are better to use ;) Hope that helps, if so check the checkmark ;) - If that doesn't help, please address your question a bit more!</p> <p>take a look at this jsfiddle:</p> <p><a href="http://jsfiddle.net/6Mcqr/" rel="nofollow">http://jsfiddle.net/6Mcqr/</a></p> <p>in the #childbox2 and #bg you have both positions as relative, leave the #bg as relative, but change your #childbox2 position to absolute with top: 0; and right: 0;</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