Is there any way that you can apply opacity properties to a background url in your css and have those attributes consitent to your bg img alone?
eg:
#bg {background: url(blah.jpg) top left no-repeat; opacity:0.5;} (or something to that affect)
The probem is, it always affects the child (insert lame pun here). I need the parent to have an opaque bg with an expanding child (ie. addition of text and imgs) without being effected by the parent opacity properties (ie. text and img don't come out translucent).
i've been here: Mandarin Design
and this site offers and interesting alternative: Spiral Demo
and here is a couple of my own experiments: test
What i really want is to be able to set opacity to a bg img exclusively. I've tried pseudo classes (first-child elements), tampering with css, tampering with inline spans and i can't get anything to work.
My guess is, opacity is only a new creation and either nobody has any idea yet ar the program itself hasn't developed that far yet- am i wrong???
Any idea's greatly appreciated.
McGuffog.
Last edited by benjo; 02-24-2006 at 10:50 PM..
|