I have a html page with a full background image within the body tag, followed by a wrapper:
<body>
<a href="#" id="bkimage">Background Image</a>
<wrapper>
.................
Styles:
#bkimage {
position: fixed;
background: url('images/bk.jpg') no-repeat top center;
width: 100%;
height: 1240px;
z-index: -1;
display:block;
overflow:hidden;
text-indent:100%;
white-space:nowrap;
}
#wrapper {
margin: 0 auto;
width: 960px;
background: url('images/transpBlack25.png');
}
The idea is to make the background image clickable. But we need to keep the complete contents of webpage within the #wrapper. body and wrapper tags already have other background images.
This method is not working. I guess it might be because of the wrapper having "margin: 0 auto" property? But am not sure.
Is there a simple workaround for this problem? Please help...