Opacity isolation for page.

Permalink
I'm trying to make the #page in my CSS theme have an opacity of "x". When i do this, everything appearing on the #page (text, image, nav, etc) takes on the same opacity.

Anyone know how to isolate the opacity to just the #page?

Thanks in advance!

SamS
 
SuperNova replied on at Permalink Reply
SuperNova
something like this? (using two layers):

<body>
<style type="text/css">
body {
   color: red;
   font-weight: bold;
   text-align: center;
}
p.p1 {
   margin: 40px 0;
}
p.p2 {
   margin: 110px 0;
}
#wrapper {
   width: 400px;
SamS replied on at Permalink Reply
SamS
sorry, should have clarified more.

i have a background image located in the #body. I am wanting the #page to have an opacity without all the text, photos, nav, etc that appear on the #page also having an opacity.
SamS replied on at Permalink Reply
SamS
never mind, i figured out a way to fix my problem. thanks for your help anyways!

Sam
SuperNova replied on at Permalink Reply
SuperNova
or just use a PNG with a grade of tranceparency.
background: transparent url(images/mybg.png)