I am facing an issue with a div that has its opacity set to 60. Within this div, there is an asp:Image element. It seems like the opacity of the div is also affecting the image inside it. I attempted to create a separate class for the image and adjust the opacity to 100, however, this approach did not produce the desired result. Can anyone offer a solution?
<div id="PleaseWait" class="Splash">
<asp:Image ID="Logo" runat="server" ImageUrl="logo.png" CssClass="imgOpac" />
<div style="color: White; font-size: medium;">
Please wait, searching spectrum listings ...</div>
</div>
<style id="splash" type="text/css">
.Splash
{
padding-top:200px;
display: none;
text-align: center;
color: White;
vertical-align: top;
width: 100%;
height: 100%;
filter:alpha(opacity = 60);
-moz-opacity:0.6;
background-color:#000000;
position:absolute;
z-index:500;
top:0%;
left:0%;
}
.imgOpac
{
filter:alpha(opacity = 100);
-moz-opacity:1.0;
}
</style>