I added a picture to my website background, using CSS. When I enter the site for the first time, the background is shown in the space I requested and lines up with the video. If I go to another page and then come back to the home page, the background is out of allignment and I have to hit re-fresh to get it lined up again. Is there a CSS command that I am missing? Following are the CSS link and CSS code I am using:
<link rel="stylesheet" type="text/css" href="css%20files/sunrisebackground.css">
body
{background-color: #6680A1;
background-image: url(Sunrise%20in%20Belize.jpg);
background-repeat: no-repeat;
background-position: 100% 32%;
background-attachment: scroll;}
*** R E S O L V E D ***
I found and resolved the problem. I had a comment preceding the DOCTYPE line. Once I removed the comment, the positioning was correct.