View Single Post
  #3 (permalink)  
Old Apr 17th, 2008, 15:44
unitedcraig's Avatar
unitedcraig unitedcraig is offline
SuperMember

SuperMember
Join Date: Oct 2007
Location: Stockport
Age: 17
Posts: 825
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Re: This is probably really basic...

Code: Select all
body
{
  background-image: url("bg.jpg");
  background-repeat: no-repeat;
  background-position: 50% 50%
}
Get rid of

Code: Select all
<body img src="file.jpg">
from your code and include the first bit of code in to your CSS.

The first "50%" is the x value, the second is the y value, to move it up and down change the second % etc.

Hope this helps

Craig
__________________
Reply With Quote