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
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
<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!
if so...
You'll need to use Javascript!
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
BigMacD86
it's been done before in the javascript section...You need to use a layer as a background...
ASKER
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
Second, <BODY BACKGROUND="URLToYourImage
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
ASKER
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
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.
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...
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
tec
ASKER
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
BigMacD86
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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
BigMacD86
(o;
why thank You BigMacD86!
You're too kind....
why thank You BigMacD86!
You're too kind....
ASKER
I'm too much of a nice guy. ;-)
BigMacD86
BigMacD86
damn...what am i smelling??
ASKER
you tell me ;-)
i wish i knew...lol....