View Full Version : background CSS wo'nt cooperate


Echo Tyme
06-30-2004, 03:30 AM
Hello, i'm trying to add a backgound image down the site of my page / site and it's not reading the file, right now it's in C:\images

all other imags read it... but css won't do anything...

So far the code I have is:

<style type="text/css">
body

{background: #FFFFFF;
background-image: /images/fade.gif;
background-repeat: no-repeat;
background-position: 0% 0%;
background-attachment: fixed;

scrollbar-face-color : #AEC9FF;
scrollbar-highlight-color : #D2E1FF;
scrollbar-3dlight-color : #EDF3FF;
scrollbar-shadow-color : #84ACFF;
scrollbar-darkshadow-color : #6A9BFF;
scrollbar-track-color : #DBE6F9;
scrollbar-arrow-color : #FFFFFF;}

</style>

I dunno what else to try, nothing seems to show it. Any ideas? I would do the html tag but it says "IE users only" and i want every to see it. Ideas?

salomeyasobko
06-30-2004, 03:32 AM
your CSS is incorrect.. it needs to be:

background-image: url(filename);

and if you want the website to work for other people, you need to upload your images to a server.. because people can't see pictures on YOUR computer ;) try www.photobucket.com

Echo Tyme
06-30-2004, 03:44 AM
lol no no no my site is here: http://mm.intellstat.com

i'm just making Version 4 and testing it on my computer, then i'm gonna make everything into the website form and upload it all lol.

Also what IS that code i tried everything. i did /images/(fade.gif) but i guess that's wrong, unless i really need the full http: url code.

salomeyasobko
06-30-2004, 03:48 AM
nonono the code is this:

background-image: url(/images/fade.gif);

you need to have the word URL in there.. lol :lol:

Echo Tyme
06-30-2004, 03:48 AM
Success!

I just did url(/images/fade.gif);

correct?

Monthly Maintenance thanks u ^.^

Posted at the same time ;)

salomeyasobko
06-30-2004, 03:49 AM
yes, that is correct! :)

EDIT: ooh hahaha okay! well, i'm glad it works!

Echo Tyme
06-30-2004, 03:53 AM
It works great, thank u ^.^

salomeyasobko
06-30-2004, 03:54 AM
you're welcome :):)