Reputation: 85
I need #slides_ribbon_left and #slides_ribbon_right to put behind the #frame. I am wonder why z-indexes don't help! Here is the link - http://layot.prestatrend.com/ Could anybody help please?
Upvotes: 0
Views: 170
Reputation: 11683
#slides has z-index: 100 and #frame z-index: 0 and they're sibblings so any child elements of #slide will be above #frame. As far as I can see you'll need to change some html as well. The following link may help too: https://developer.mozilla.org/en/Understanding_CSS_z-index/The_stacking_context
Upvotes: 2
Reputation: 25188
You need to use a relative, fixed, or absolute position on elements for z-index to take effect.
Just add position: relative
to each element (or fixed or absolute, depending on what you want).
Upvotes: 1