On Mon, 2004-09-13 at 15:43 +1000, Peter Rundle wrote: > Sluggers, > > After no luck googling for a solution I've decided to post this possibly > off topic question to the wisdom of slug (well the web server is apache on > Linux and the client is Mozilla or Firefox on Linux). > > 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%.
It's a nasty hack, but I've seen this worked-around by using a translucent PNG image as the background. Is opacity actually part of the CSS spec? I can't find it in the CSS2 reference sidebar. I hope someone has a better solution. James. -- James Gregory <[EMAIL PROTECTED]>
signature.asc
Description: This is a digitally signed message part
-- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
