Page 1 of 1
Making backgrounds.
Posted: Mon Dec 06, 2004 9:29 pm
by Xtraman
ok.. well I figured out almost everything else... but when it comes to putting a image in the background I saw on the forums that the code is something like <body background="/images/background.gif"> but uh... where do I put it? Cause I can't get the background to show up. This is probably a repetitive question but I couldn't find a post that helps.
Travis
XTRAMAN
Posted: Tue Dec 07, 2004 1:58 am
by Moghendhim
Well, the best thing to do is open up your page in notepad, or some other text editor, and use the "find" or "search" function for the tag <body>. Then add the 'background' information to it. It's usually in the top third of the document, and every html document has one.
Posted: Tue Dec 07, 2004 5:14 am
by Rkolter
To better answer your question...
1) If you mean, where do you put the body tag, you put it near the top of the page... personally I do this:
<html>
<title>example</title>
<body background=.....>
I suggest using a complete URL, ie:
<body background="
http://yoursite.keenspace.com/images/foobar.jpg">
Like Moghendhim said, if there's already a <body> tag, just add the background information... don't put a second body tag into your document.
By the by, be sure to close the body tag at the end of your document.
...
...
</body>
</html>
2) If you mean, where do you put your IMAGE, you put it in your images folder.
Posted: Tue Dec 07, 2004 10:46 am
by Xtraman
Thanks a lot! I will try to get this working now. Thanks again for the help!

Travis
Posted: Thu Dec 09, 2004 6:43 pm
by Xtraman
eh... I don't have a <body> tag...the only thing that says body is the </body> thing at the end. So if I am putting a body tag in.... where does that go?
Posted: Fri Dec 10, 2004 4:50 am
by Rkolter
xtraman wrote:eh... I don't have a <body> tag...the only thing that says body is the </body> thing at the end. So if I am putting a body tag in.... where does that go?
The top, basically. After the header (ie, after </head>), or if there's no header, after the <html> tag.