On Oct 20, 2011, at 12:36 AM, Elli Vizcaino wrote: > If I recall correctly, child elements inherit the opacity property of parent > elements. Meaning, any text within a div with an opacity declaration would > then also take on the same values. Has this changed with CSS3?
As David notes, the descendants of a box with opacity applied don't inherit that opacity. The property is applied to the (block) box and all its descendants. If what you want is a box with a semi-transparent background and / or borders, then rgba() or hsla() colours are your friend. Philippe -- Philippe Wittenbergh http://l-c-n.com/ ______________________________________________________________________ css-discuss [css-d@lists.css-discuss.org] 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/