On Mon, Sep 13, 2004 at 04:09:00 +1000, James Gregory wrote:
> On Mon, 2004-09-13 at 15:43 +1000, Peter Rundle wrote:
> > I'm trying to create an area on a web page with a translucent background 
> > but with solid text inside that area. I'm trying to do it using a style 
> > sheet. I can get the translucent area on the background no problem with 
> > opacity:0.5, but any text that I put on it is also translucent. It seems 
> > that any subsequent divs or classes inhereit the opacity and I can't over 
> > ride it. I.E opacity=1.0 means 100% of the 50% of the parent = 50%.

Does this help?:

    http://www.quirksmode.org/css/opacity.html

> Is opacity actually part of the CSS spec? I can't find it in the CSS2
> reference sidebar.

I'm pretty sure opacity is new in CSS3.


Cheers,

John
-- 
It's a house of cards, supported not on the backs of turtles but on bullshit.
Making the bullshit gooier makes the house of cards less likely to collapse, 
but is not necessarily an improvement.
                -- Alan J Rosenthal
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to