PDA

View Full Version : Opacity:- and the troubles it brings.


chriskq
10-06-2006, 12:53 AM
Hey all,

im pulling out the big guns for this project (a government one) and have had some trouble researching how to counteract the opacity filter for text or image inside a div (parent) that alreadly has an opacity filter applied to it.

Eg, a left nav div with a solid bg color and an opacity of 60%. At the moment watever i put inside that div also inherits the parents opacity... so i've got text inside that is not readable.

i've attached a cropped screenshot to show u where im up to. Just wondering if anyone has seen or used opacity and if its possible to have stuff inside a filtered div that has no opacity set to it.

chriskq
10-06-2006, 06:10 AM
found something which gives me the idea that it is posible
http://www.totalchoicehosting.com/forums/lofiversion/index.php/t13031.html (4th last forum post)

now to turn it into something more usuable...

domedia
10-06-2006, 02:31 PM
I actually wrote a little piece on this long time ago:
http://www.domedia.org/oveklykken/css-transparency.php