[Javascript] Background Image on webpages

Robin Warnes rwarnes at paradise.net.nz
Sun Jun 24 23:22:37 CDT 2001


Many thanks for your help.

Best wishes,

Robin.
  ----- Original Message ----- 
  From: Andrew Dunn 
  To: javascript at LaTech.edu 
  Sent: Monday, June 25, 2001 4:08 PM
  Subject: RE: [Javascript] Background Image on webpages


  Like many other nice things you can do with web pages Netscape does not support this.
   
  Andrew
  -----Original Message-----
  From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On Behalf Of Robin Warnes
  Sent: Monday, 25 June 2001 12:36 PM
  To: javascript at LaTech.edu
  Subject: Re: [Javascript] Background Image on webpages


  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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20010625/eb9af935/attachment.htm>


More information about the Javascript mailing list