[Javascript] Background Image on webpages
Steve Blades
cutterbl at hotmail.com
Mon Jun 25 08:08:36 CDT 2001
Unfortunately, and expectedly, NN does not support the "fixed" feature (and
many others). Ever since AOL bought Netscape the browser has gone straight
to pot, with limited scripting functionality and a wealth of bugs (funny,
since they started javascript in the first place). I think the only reason
it is really still around is for Linux (which Konqueror will soon overtake)
and diehard MS haters. It would be nice if AOL spent some dev $ on this once
great product, but I wouldn't hold my breath. MS has spent more time and
resources creating a richer DOM, and improved design.
Cutter
From: "Robin Warnes" <rwarnes at paradise.net.nz>
Reply-To: javascript at LaTech.edu
To: <javascript at LaTech.edu>
Subject: Re: [Javascript] Background Image on webpages
Date: Mon, 25 Jun 2001 14:35:54 +1200
Hi Andrew,
Many thanks. This now works brilliantly in Explorer. However, the image is
not static in Netscape.
Best wishes,
Robin.
----- Original Message -----
From: Andrew Dunn
To: javascript at LaTech.edu
Sent: Monday, June 25, 2001 1:19 PM
Subject: RE: [Javascript] Background Image on webpages
body {background-image:url("press.gif");background-attachment: fixed}
-----Original Message-----
From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On
Behalf Of Robin Warnes
Sent: Monday, 25 June 2001 11:04 AM
To: javascript at LaTech.edu
Subject: Re: [Javascript] Background Image on webpages
This now works in both browsers, providing the fixed attribute is not
included. I want to "freeze" the image as a fixed static background so that
the text will scroll over it. When I include fixed this now kills the image
completely in both browsers.
body {background-image:url("press.gif") fixed}
Robin
New Zealand
----- Original Message -----
From: Andrew Dunn
To: javascript at LaTech.edu
Sent: Monday, June 25, 2001 12:21 PM
Subject: RE: [Javascript] Background Image on webpages
I think you'll find that the correct syntax is:
body {background-image:url("press.gif")}
-----Original Message-----
From: javascript-admin at LaTech.edu
[mailto:javascript-admin at LaTech.edu]On Behalf Of Robin Warnes
Sent: Monday, 25 June 2001 9:45 AM
To: javascript at LaTech.edu
Subject: [Javascript] Background Image on webpages
Hi,
Could anyone please tell me how I can get the following stylesheet tag
to work correctly:
BODY {background:url(press.gif)fixed}
I have found that the image will display in Netscape 4.7, but it does
not seem to display at all in Internet Explorer 5.0. The fixed attribute
does not seem to work in either browser.
Any solutions or suggestions will be appreciated.
Best wishes,
Robin
New Zealand.
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
More information about the Javascript
mailing list