Please unsubscribe me -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] Sent: Monday, 30 June 2008 9:22 PM To: [email protected] Subject: WSG Digest
********************************************************************* WEB STANDARDS GROUP MAIL LIST DIGEST ********************************************************************* ********************************************************************* From: Lynette Smith <[EMAIL PROTECTED]> Date: Mon, 30 Jun 2008 08:20:34 +0800 Subject: Re: [WSG] Scaling a background image Chris Pearce wrote: > > Hi, > > > > Has anyone been able to successfully scale a CSS background image to > the current window size? I've done some research via Google and it > appears this can't be done purely with CSS (at least not yet), maybe > some JavaScript? > > > Is this the sort of thing you mean: http://www.bluelightning.com.au/ The image reduces in size at smaller screen resolutions. Lyn WesternWeb Design Perth Western Australia ********************************************************************* From: "Matthew Holloway" <[EMAIL PROTECTED]> Date: Mon, 30 Jun 2008 12:56:29 +1200 Subject: Re: [WSG] Scaling a background image On Mon, Jun 30, 2008 at 12:12 PM, Chris Pearce < [EMAIL PROTECTED]> wrote: > Has anyone been able to successfully scale a CSS background image to the > current window size? I've done some research via Google and it appears this > can't be done purely with CSS (at least not yet), maybe some JavaScript? > > Here's a CSS and HTML way of doing it for those browsers that understand position:fixed, http://holloway.co.nz/mefi/fullscreenbackground2/ For those browsers that don't you'd need to emulate it with JavaScript... window.onscroll to move the #background down the page with the scroll position. ************************************************************** Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ************************************************************** Sensis. Helping you find, buy and sell. www.sensis.com.au - www.yellow.com.au - www.whitepages.com.au - www.citysearch.com.au - www.whereis.com.au - www.tradingpost.com.au Sensis cares for the environment - think before you print. This email and any attachments are intended only for the use of the recipient and may be confidential and/or legally privileged. Sensis Pty Ltd disclaims liability for any errors, omissions, viruses, loss and/or damage arising from using, opening or transmitting this email. If you are not the intended recipient you must not use, interfere with, disclose, copy or retain this email and you should notify the sender immediately by return email or by contacting Sensis Pty Ltd by telephone on [+61 3 8653 5000] ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *******************************************************************
