Home › Forums › CSS › needing help with my banner not staying in front of my main content? › Re: needing help with my banner not staying in front of my main content?
January 8, 2013 at 12:41 am
#120224
Participant
The banner should have a smaller z-index than anything else on the page if you want to be behind your content.
position: fixed;
opacity: .5; /* .5 = 50%, .51 = 51%, .75 = 75%, etc. */
z-index: -1;