Fregatt
Member
Posted 2 years ago #
Hi!
I'm trying to make the content background transparent. I do get it transparent, but all the content get transparent aswell, and I definitely don't want that to happend!
I there a way give only the box where the content goes a transparent background, without making the box itself 8and everything inside it, like pictures etc.) transparent?
I hope you get my problem. I desperately need help, so I would really appreciate some help from you guys!
Thanks a lot!
Fregatt
Member
Posted 2 years ago #
My (nonfunctional) code in the style.css file look like this right now:
/* Blog Contents */
#box{
background-image:url('table-bg.jpg');repeat;opacity:0.8;filter:alpha(opacity=80);
width:800px;
margin:0 auto;
}
[please mark code by using backticks or the 'code' button]
just figure out what the div surrounding the content is, say its #content, and add to your css:
#content { background-color: transparent; }