IE supports this background, but FF won't....
Here's the code:
Quote:
Ive also noticed that after putting this code in on some pages of FF, it will add width and height on its own and not on other pages.. also the Background 2.gif will be displayed as Background%202.gif when that pic - 202 doesn't even exist.
So basically, the above code is on every page.. and IE reads it correctly but FF either alters it or adds to it. Any suggestions to a fix? I tried .jpg as well to no avail.
Thanks
Drink responsibly.. Capt. was here.
steve40 posted this at 17:05 — 28th June 2005.
He has: 490 posts
Joined: May 2005
Where is page.
steve40 posted this at 17:13 — 28th June 2005.
He has: 490 posts
Joined: May 2005
Is this file still on you hard drive, not published?.
chrishirst posted this at 17:15 — 28th June 2005.
He has: 379 posts
Joined: Apr 2005
the %20 is added because there is a space in the filename.
get rid of the spaces and the path should NOT be to a local hard drive
steve40 posted this at 17:30 — 28th June 2005.
He has: 490 posts
Joined: May 2005
Better yet get rid of
body {background-color:#fff;
backgroung-image:url(sample.gif);
background-repeat; none;
background-position:center}
CaptainMorgan posted this at 17:31 — 28th June 2005.
They have: 19 posts
Joined: Jun 2005
At this point, I choose not to enter the link as Im still experimenting... plus a Mod told me to post the code if not the link so there it is.
Are you saying it's reading from the hard drive and should not be? I don't understand.. if it's not from a hard drive, how does it find the background? Wait.. the image should be on the server??
Drink responsibly.. Capt. was here.
CaptainMorgan posted this at 17:43 — 28th June 2005.
They have: 19 posts
Joined: Jun 2005
OH man, somehow missed this concept.. I fixed it - thanks you guys/gals. After through tut after tut.. somehow it got lost.
Busy posted this at 22:47 — 28th June 2005.
He has: 6,151 posts
Joined: May 2001
The reason it worked on IE:
You developed the site with IE and IE cached the image located on your hard drive
The reason it didn't work on FF:
you probably checked it on FF once uploaded, and since the internet does not have a C drive it was not found, yet IE was still working off your cache.
Hitting ctrl f5 would of shown broken logo in IE as well, as this refreshes from the server
CaptainMorgan posted this at 00:30 — 29th June 2005.
They have: 19 posts
Joined: Jun 2005
Right on Busy.
Problem was, at W3 schools' tutorials' I went from beginning to advanced in like two days. Im impatient but in a non-violent way, whatever than means. I went through looking for things that stood out and interested me the most, later to find out that the problem I was having was something I had overlooked. Live and let learn..
Thanks folks
Drink responsibly.. Capt. was here.
JeevesBond posted this at 00:38 — 29th June 2005.
He has: 3,956 posts
Joined: Jun 2002
Hehehe, we've all been guilty of that from time to time!
demonhale posted this at 00:48 — 29th June 2005.
He has: 3,278 posts
Joined: May 2005
So to wrap it All up (in case other noobs read this thread)...
a bunch of %20 means youve got some useless spaces in the code...
link files on html without using drive letters like c: , a: , etc...
remember to read all else before trying out...
Last but not the Least, if you cant figure it out; Visit The Webmasters Forum.... Yehey!!!!
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.