Log in

View Full Version : Background Image Keeps Jumping Positions



Sarin
07-12-2010, 09:37 PM
Hey all, yet another question from the newbie. :)

As my site goes from page to page, the background jumps positions. I do not want it fixed per se, but I do want it to stay still, unless I am scrolling up or down. I hope I made myself clear.

http://nageckos.webs.com/index.htm


<style type="text/css">
body {
background-image: url("/images/bg2.jpg");
background-position: center;
background-repeat: repeat;
background-color: #ffffff;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 5px;
}
</style>

TIA!!

azoomer
07-12-2010, 10:10 PM
Hi Sarin!
I am not really sure if it will work, but have you tried something like:
background-position: center -400px;
where the -400px would be the y coordinate that can be changed to whatever is suitable.

Sarin
07-13-2010, 03:41 PM
Works! Thanks a bunch!!