[Javascript] Background Image on webpages
Andrew Dunn
adunn at mail.interworx.com.au
Sun Jun 24 20:19:26 CDT 2001
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20010625/daf16bf9/attachment.htm>
More information about the Javascript
mailing list