Previous Message
Next Message

problem with opacity

Sent by Tim Arnold on 16 February 2012 19:07


On Thu, Feb 16, 2012 at 2:38 PM, Angela French [EMAIL-REMOVED]> wrote:

>   It appears that this background color is inheriting the opacity of the
> div it lives in as the white background-color seems to have no effect. I
> have even reset the opacity of this <p> by setting it to 100.
>
>
Yes, the opacity css property is inherited by anything inside that
container.  There is no way that i know of to get around that when using
"opacity."  What you can do, however is use RBGa background instead.

Check out: http://css-tricks.com/rgba-browser-support/  and.or
http://www.css3.info/preview/rgba/

If you want it to work in IE browsers older than IE9, you might want to use
PIE (http://css3pie.com/) which is my favorite way to beat dumb browsers in
to shape.

-Tim

-- 

[EMAIL-REMOVED]
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: