[Javascript] Background Image on webpages

Andrew Dunn adunn at mail.interworx.com.au
Sun Jun 24 19:21:18 CDT 2001


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/30da2a86/attachment.htm>


More information about the Javascript mailing list