Michiel
09-25-2003, 01:04 PM
Hi,
I'm working on a web site and came accros the following isue: I want to dispay a splash screen that contains of two div's. The first div contains the background and has an opacity of 80%. The second one contains the text and this text should have an opacity of 100%. The problem is that the second div (splashtxt) inherits the opacity of the first one (splash). How do I prevent this from happening?
<div name="splash" id="splash" style="position:absolute; top:40%; left:40%; filter:alpha(opacity=80); visibility:hidden"><img src="graphics2/splash.gif" alt="">
<div name="splashtxt" id="splashtxt" style="position:relative; top:-150; left:0; width:300; height:150; z-index:10;">txt</div>
</div>
I'm working on a web site and came accros the following isue: I want to dispay a splash screen that contains of two div's. The first div contains the background and has an opacity of 80%. The second one contains the text and this text should have an opacity of 100%. The problem is that the second div (splashtxt) inherits the opacity of the first one (splash). How do I prevent this from happening?
<div name="splash" id="splash" style="position:absolute; top:40%; left:40%; filter:alpha(opacity=80); visibility:hidden"><img src="graphics2/splash.gif" alt="">
<div name="splashtxt" id="splashtxt" style="position:relative; top:-150; left:0; width:300; height:150; z-index:10;">txt</div>
</div>