david7777
05-26-2003, 03:24 PM
I cant seem to get the alph opacity filter to work on a div with relative positioning. I am using the following code:
<div class="mainNav" style="filter:Alpha( Opacity=40 ); position: absolute;"><a TITLE='Home Page' href='/'>Home</a></div>
So the class is giving a blue background, which i want transparent. It works fine if i use absolute positioning, but as soon as i use relative positioning, then no transparency occurs. Why is that?
I have tried to use a semi-transparent gif as the background which works perfectly except for performance - it seems to slow everything down when an image is involved... So i dont want to use that either.
<div class="mainNav" style="filter:Alpha( Opacity=40 ); position: absolute;"><a TITLE='Home Page' href='/'>Home</a></div>
So the class is giving a blue background, which i want transparent. It works fine if i use absolute positioning, but as soon as i use relative positioning, then no transparency occurs. Why is that?
I have tried to use a semi-transparent gif as the background which works perfectly except for performance - it seems to slow everything down when an image is involved... So i dont want to use that either.