How to have a transparent <div> with a non-transparent <div> overlaying it?

Posted by Matt on Stack Overflow See other posts from Stack Overflow or by Matt
Published on 2010-03-23T17:29:19Z Indexed on 2010/03/23 17:33 UTC
Read the original article Hit count: 288

Filed under:
|

I have a simple on my page with the opacity being set to 0.5. The problem is, the text inside that is also going transparent. How do I correct that? Do I make another div and place it on top the transparent one? If so, how to do that?

© Stack Overflow or respective owner

Related posts about XHTML

Related posts about transparency