I have this CSS code:
.overlay {
background:#666666;
opacity:0.7;
filter: alpha(opacity=70);
position:fixed;
width:100%;
height:100%;
text-align:center;
top:0px;
left:0px;
z-index:1000;
}
which makes my div fit the whole page and is opaque
here is my html:
<div id="overlay" class="overlay">
<img src="http://www.example.com/images/loading.gif" alt="Loading" width="25%" style="margin-top:5%;" />
<br />
<h1>Loading...</h1>
</div>
how can i keep the css as it is but make my image and text within the div not opaque at all?