Detrash
05-01-2007, 08:48 AM
Alrighty.. So I was reading this forum of a lady who had a CSS problem. She finally got it resolved and turns out she has her own forums for design.
And here I am.. Here is my problem.
Using CSS I wanted to create a background using a picture at half opacity but, I dont want to use photoshop etc to reduce the opacity. Reducing opacity with CSS is easy, until it started affecting your whole page.
The idea is to get 100% visible tables/text/pictures/css ontop of the 50% opac background. I was told to use two tables
table#1 : z-index:-1, 50% opacity, the picture.
table#2 :The rest of the website, the body. z-index:+1.
Long story short, depending on where I'm putting things, sometimes the tables dont overlap properly, sometimes the pic it not 50% opac, and sometimes I completely loose my mind and cry.
Can you help?
And here I am.. Here is my problem.
Using CSS I wanted to create a background using a picture at half opacity but, I dont want to use photoshop etc to reduce the opacity. Reducing opacity with CSS is easy, until it started affecting your whole page.
The idea is to get 100% visible tables/text/pictures/css ontop of the 50% opac background. I was told to use two tables
table#1 : z-index:-1, 50% opacity, the picture.
table#2 :The rest of the website, the body. z-index:+1.
Long story short, depending on where I'm putting things, sometimes the tables dont overlap properly, sometimes the pic it not 50% opac, and sometimes I completely loose my mind and cry.
Can you help?
