View Full Version : background image problems


cuca
04-12-2003, 09:06 AM
I've finally (almost) finnished designing my webpage, so I've decided to start uploading it when SURPRISE! I've realized that the background images of my main pages don't show up!!!!!

http://aboutme.com/cuca//4.html

Do you think it's a problem of the 'host' or of my html (I have writen it on notepad)? Please, can somebody help?

These background images are really important for my design, as this is an artist's page, and they also create the mood.

I hope I hear from somebody soon, thanks in advance!

cuca

Sheila
04-12-2003, 09:12 AM
Have you uploaded the images to your host?

epolady
04-12-2003, 09:14 AM
In your CSS,

background-image: "http://www.aboutme.com/cuca/vista.gif"

Should be

background-image: url("http://www.aboutme.com/cuca/vista.gif");

Also, bgcolor="#f5f5f5" should be background-color: #F5F5F5;

Also, your BODY tag should look like

<BODY background="vista.gif" style="background-repeat: no-repeat; background-position: 10% 10%;">

Consult the CSS section of this site for more tags.

cuca
04-12-2003, 10:15 AM
Hello,

Yes, I had uploaded the images to my host.

epolady... I have tried what you said but the background image still doesn't show up, have I done it correctly?
What I really don't understand is that down in my computer it works perfectly, so I don't understand why this changes when I upload. How can it be?

Thanks so much for helping. :(

cuca

epolady
04-12-2003, 10:25 AM
I'm getting a 404 on the image http://www.aboutme.com/cuca/vista.gif, are you sure it's not something like .JPG or .jpg or possibly in a folder like /images/ or /pics/ ? Or how about .GIF instead of .gif?

cuca
04-12-2003, 11:56 AM
Originally posted by epolady
I'm getting a 404 on the image http://www.aboutme.com/cuca/vista.gif, are you sure it's not something like .JPG or .jpg or possibly in a folder like /images/ or /pics/ ? Or how about .GIF instead of .gif?

epolady, you were right!! I wrote .gif instead of .GIF, I just didn't know it made any difference.
Well, thanks you SO much for taking the time to solve this little problem wich was bugging me some much. Now I'm going to try to keep working in making the size of the pics smaller in weight cause I've got the feeling it takes ages to load and see them, am I correct?
Thanks again,

cuca

epolady
04-12-2003, 12:02 PM
Try compressing the image or perhaps cropping it down some.

You're welcome and good luck.

cuca
04-12-2003, 01:44 PM
epolady, just one more question... well, in fact, two:

how do you compress an image?
and
does it have less weight if it's another kind of image (.jpg, etc)?

Thanks again, ;)
cuca

cuca
04-12-2003, 02:14 PM
ok, sorry, I said goodbye too soon. Now I've realized that once I've uploaded my webpage the background-images are not set in the position they should be in. I change the values but the position doesn't change... what's the problem now?

I wish I did not have to ask so many things, thanks for your time, epolady, or whoever replies (I hope).

cuca

epolady
04-12-2003, 04:47 PM
You can compress an image with a graphics program or one of those crunchers online.

I'm not sure on which file type leads to a smaller file size. Sometimes it's gif, other times it's jpg.Now I've realized that once I've uploaded my webpage the background-images are not set in the position they should be in. I change the values but the position doesn't change... what's the problem now?It's probably because it's a really big image. I think you may have to crop it (with a graphics program).

cuca
04-16-2003, 08:00 AM
OK, I think I have short of manage to do it (though I still can't figure out what's the problem trying to place the image in the specific place I want to).
I've crop it. Thank you epolady!