View Single Post
  #7 (permalink)  
Old Apr 13th, 2007, 21:40
Marc's Avatar
Marc Marc is offline
Moderator

SuperMember
Join Date: Apr 2007
Location: Scotland, UK
Age: 15
Posts: 1,662
Thanks: 0
Thanked 9 Times in 9 Posts
Re: how do you keep the background in the same place

Code: Select all
<title>Greenwich Community Learning Champions</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css"
body {
 background-image: url(Images/backlogo.JPG);
background-attachment:fixed;
}
 
</style>
Try that, the code ive entered is in the different colour.

I dont know if you need background-repeat in there, i just copied it from my code. You can just delete it if you wish.
This might help also with you setting your background out, http://www.w3schools.com/css/css_background.asp. It has some examples of code.

Last edited by Marc; Apr 13th, 2007 at 21:46.
Reply With Quote