| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
Senior Member
Join Date: Oct 2007
Location: Ohio
Posts: 194
|
Opacity divs
Hey guys I'm trying to make my divs and wrapper have a low opacity so that a background image can be seen behind them. Problem is when I do this everything (text/ et al) adopt this same opacity. I guessing that I would have to create another div within a div to prevent this from happening. My problem is that this starts making the site div happy. Does anyone know a way around this? Thanks for any advice you can give. Zygote |
|
|
|
|
|
#2 (permalink) |
|
Semantics, yay.
Join Date: Nov 2005
Location: Salem, Massachusetts
Posts: 1,129
|
You can't even do that. Any child-div of a parent-div that has reduced transparency will also have reduced transparency. Welcome to the cascade. This is how you get it done: Cross-Browser CSS Transparency with Opaque Content |
|
![]() |