Div on top of Div using z-index.
- by Iacks
I have the following divs in my HTML:
<div class="main">
<div class="bgimage"></div>
<div class="content">Text</div>
which is directly inside my body.
With the following CSS:
.content{filter:alpha(opacity=50);-moz-opacity: 0.5;opacity: 0.5;}
.content{position:relative;z-index:1;border:#000 thin…