Link to home
Start Free TrialLog in
Avatar of oceanside86
oceanside86

asked on

Backgrounds in Netscape 4.7

I know this is cheap, but it is late and I am way to lazy to go and look it up somewhere.

How can I set backgrounds in netscape. The Body Background element does not work for Netscape, so I am looking for something else.

Thanks in advance!

Oceanside86
Avatar of chewymon
chewymon

<body background="some.gif"> works in Netscape 3 and up.  Do you mean fix the background so it doesn't scroll?
>> do You mean fix the background so it won't scroll?

if so...

You'll need to use Javascript!

Avatar of oceanside86

ASKER

I have to use a javascript?? That is dumb. And yeah, fix the background so it doesn't scroll. Can you guys set me up on that? I'd really appreciate it.

BigMacD86
it's been done before in the javascript section...You need to use a layer as a background...
how?
First, a page background does not scroll.  If you use an image as a background for a table say, then you may get a scrolling effect.

Second, <BODY BACKGROUND="URLToYourImage.jpg"> does work for Netscape and any other browser.  If this is what you want and it's not working, then give your URL so that someone can see what you are doing.  Most likely, you are not referencing the location of the image correctly.

If you want to change your background to something different each time the user shows up at your page then that requires a lot more work and points.

tec
http://www.antares-guesthouse.com/English/roommenu.htm

take a look in IE and Netscape and just scroll down. The BGPROPERTIES="Fixed" works fine in IE but not Netscape. Dreammaster had an idea with a layer, but isn't there a simplier way?

BigMacD86
i'm afraid not...it's the only way to get the background to be fixed in both Netscape and IE....sorry...
>I have to use a javascript?? That is dumb.


The reason is that bgproperties=fixed is an IE invention.  It has never been accepted as part of the official HTML standard, therefore most other browsers have not bothered to write it into their code.
exactly chewymon....

that's the reason although i think it's about it was accepted because it's way easier....oh well...keeps us programmers busy...

lol....

DreamMaster out...
I see what you are asking for.  Sorry for the misunderstanding on my part.

tec
Kinda figured it was an IE extension. Oh well, 50% is better than nothing. It is not soooo important, so I guess, I just leave it the way it is.

BigMacD86
ASKER CERTIFIED SOLUTION
Avatar of DreamMaster
DreamMaster

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Good call! Well, I went back and read the history of this question and since it appears that you are right, DreamMaster, you are 50 pts richer. ;-)

BigMacD86
(o;

why thank You BigMacD86!

You're too kind....
I'm too much of a nice guy. ;-)

BigMacD86
damn...what am i smelling??
you tell me ;-)
i wish i knew...lol....