southbeach
Programmer
Check this link
notice how you scroll content up and down and the image stays static in a fixed position. How is this done?
I tried using something like:
with CSS that would place a background image in fixedimg layer w/out repeat using a z-index of 1; while wrapcontent was set to z-index of 5.
I appear to get the fixed image to stay fixed but the content is not visible, as if it goes behind the fixedimg layer even when the z-index is higher.
Suggestions?
Thank you all in advance for your help!
--
SouthBeach
The good thing about not knowing is the opportunity to learn - Yours truly, 2008.
notice how you scroll content up and down and the image stays static in a fixed position. How is this done?
I tried using something like:
Code:
<body>
<div id="fixedimg"></div>
<div id="wrapcontent">
<div> ... </div>
<div> ... </div>
</div>
</body>
with CSS that would place a background image in fixedimg layer w/out repeat using a z-index of 1; while wrapcontent was set to z-index of 5.
I appear to get the fixed image to stay fixed but the content is not visible, as if it goes behind the fixedimg layer even when the z-index is higher.
Suggestions?
Thank you all in advance for your help!
--
SouthBeach
The good thing about not knowing is the opportunity to learn - Yours truly, 2008.