View Full Version : Background image dillema


webpage_crisis
07-10-2004, 06:03 PM
Hey guys,
I am like a complete newb to html and I wanna put on a background image. The thing is, I did the whole code thing write but when I try and prewiew my webpage, the image I want up doesnt come up and niether duz the colour. It is getting really fustrating cuz I dunno where I'm going wrong! I have checked the filename over and over again, but do you put anything else? I put <body background="Fire.jpg"> I do have a file in My Pictures called that, but its not coming up!!!!

HELP!

-Skitts

JustOneSyllable
07-10-2004, 06:20 PM
Are you sure the F is capital?

webpage_crisis
07-10-2004, 06:23 PM
Yep, I tried to put music on my page too, I did excactly the same but again it didnt come up.

Monkey Bizzle
07-10-2004, 06:26 PM
what's the link to your page that the pic is supposed to be on?

::edit::
if you are looking at the page on your computer, unless the pic and the HTML file you are working on are in the same folder you won't be able to see it... you have to type in the WHOLE url of the file... so, if your file is on your desktop and your pic is in my pictures, you have to type <body background="C:\My Pictures\Fire.jpg"> or whatever the whole file is... same with on a webpage... if you have images in different folders on your server, you have to type the whole name, not just the name of the pic!
::edit::

webpage_crisis
07-10-2004, 06:37 PM
http://uk.geocities.com/otterz_rule/ is what it says, I have saved it, but everytime I try to to get onto it it says it can't be displayed.

Monkey Bizzle
07-10-2004, 06:39 PM
you completely lost me... the page that you are making that you are having trouble with the background... is it on your computer still, or have you uploaded it to geocities yet?

Echo Tyme
07-10-2004, 06:43 PM
Wait I may have it... do u have:

<body>
<body background="Fire.jpg">

?

If so try to just put:

<body background="Fire.jpg">

I think i've done that before, also if ur really new at html try putting the image in the same folder as your index.html (on your computer and your site) this way you can just put "Fire.jpg" (or "/Fire.jpg"). I hope this helps.

webpage_crisis
07-10-2004, 06:49 PM
<html>
<head>


<title>Skitts Webpage!!!</title>
</head><body background="C:\Documents and Settings\Whalley\My Documents\My Pictures\Fire.jpg">

thats the html I have put at the top, and it doesnt make the picture appear

kittycat
07-10-2004, 07:06 PM
Combine your two body tags so you have one that looks like this:
<body background="Fire.jpg" bgcolor="#660099" text="#CCFFFF">
Then upload Fire.jpg to geocities.

webpage_crisis
07-10-2004, 07:11 PM
How do I upload the image to geocities?

JustOneSyllable
07-10-2004, 07:39 PM
It should have a text box, and then a button that says 'browse' next to it. Press it and once you find it on your computer click and and then press upload.

I hope that answers your question.

webpage_crisis
07-10-2004, 07:55 PM
I feel really dumb doing this lol. There is no text box. And no matter how much I try. it wont do it,

JustOneSyllable
07-10-2004, 08:13 PM
Well, you must upload it first. There has to be something to upload pictures on geocities, I mean come on, work with me here.

kittycat
07-10-2004, 09:05 PM
It's been awhile since I've used geocities, but somewhere in the File Manager or on the main login page there's an option to upload files... left hand side of the main login if I remember correctly.

StarryIlove
07-10-2004, 09:39 PM
I use geocities I can help.

You need to login then go to upload/ ftp it's on the right hand side under edit html. Use the browse button to upload the file. then hit the 'upload button' once that is done it will say continue to file manager. On the right. Click there and it will take you to where all your files are found look for your image name. Click on it. the address in the address bar is the path to your image put that in your im src= tag

If you just put fire.jpg it won't come up because it will look for it under geocities image files not yours.