Hi, this is probably a simple question, and maybe I'm overlooking something very basic. Would someone tell me why the z-index is not working for this example? I want the white box to be in front of the body background setting to black at 60%. If I remove the opacity property from the body background property, all is well, however, if I add it, the white box is dimmed by the opacity setting on the body background property. HTML and inline CSS follows:
Thanks!Code:<body style="background:#000; opacity:.6;"> <div style="border:1px solid #ccc;height:105px;z-index:2;background:#fff;" > <p>this might take about one minute.</p> <p class="update"></p> <p><connecting...></p> </div> </body>



Reply With Quote


Bookmarks