This is a css problem not a php problem I think a mod should move this over to HTML / CSS.
Now to answer your question about the background being repeated, it's because you haven't told the css background to stop repeating.
Change this line:
background-image: url(bgbg.jpg) no-repeat;
And you could also do this to make the background fixed
background-image: url(bgbg.jpg) fixed no-repeat;
Also you can do this to make the margin styles better looking.
margin: 0 0 0 0; or just
hand picked coder.
For anyone worried about SQL injection go have a look at my small yet powerful script here
Go Pledge for Light Table
, if it hit's $300,000 Python and other languages will get added.
I am 1 of 65,608 people to get a Pebble Watch :P