[thelist] CSS opacity question

Mark Howells webdev at mountain.ch
Wed Jul 11 10:47:52 CDT 2007


> The problem is that all of the content of this div is being  
> rendered at the
> same opacity level. Naturally enough. Question is: Is there a way  
> to make
> the contents of the centre div fully opaque while leaving the  
> background
> with its partial transparency?

Pseudo-code ahead!

<div wrapper position relative>
     <div bg halftransparent position absolute top 0 left 0 zindex 0>
         <div content position absolute top 0 left 0 zindex 1>
         </div>
     </div>
</div>

...or something like that...

Mark Howells
- www.permanenttourist.ch
- www.flickr.com/photos/mhowells/





More information about the thelist mailing list