Background link (on ALL the background!)

Agitory

New Member
I've set up a 100% width/height div to stay on the background of the website, like so:\[code\].background { background-color:rgba(50,50,50,0.4); width:100%; height:100%; position:absolute; z-index:-1;}\[/code\]I'd like to have a link that would cover the WHOLE div, but if I code something like this, I'll have the link to appear only on the last part of the div (remember that this div has to stay in the background, with some divs above it), after the other divs, that stay above it.\[code\]<a href='http://stackoverflow.com/home'> <div class='background'></div></a>\[/code\]Are there any HTML/CSS solutions?
 
Back
Top