Re: [WSG] Scaling a background image

2008-07-01 Thread Matijs
I would change the height from 100% to auto to maintain the aspect ratio of the picture. On Mon, Jun 30, 2008 at 10:19 PM, Per Allan Johansson [EMAIL PROTECTED] wrote: I do it here: http://www.sydost.no/ Like this, in head style type=text/css html {height:100%;} body {height:100%;

Re: [WSG] Scaling a background image

2008-07-01 Thread Matijs
Off topic to the list maybe but this might also be interesting for those who like SVG: http://vectormagic.com/ It converts bitmaps to scalable vector graphics and does an impressive job at that :) On Tue, Jul 1, 2008 at 12:02 AM, Matthew Holloway [EMAIL PROTECTED] wrote: On Tue, Jul 1, 2008

Re: [WSG] Scaling a background image

2008-06-30 Thread Joseph Ortenzi
I would have though a simple CSS width:100%; , height:auto might do it? does it need to be a background and will it conflict with anything at different sizes? ? On Jun 30, 2008, at 05:15, dwain wrote: On 6/29/08, Chris Pearce [EMAIL PROTECTED] wrote: Hi, Has anyone been able to

Re: [WSG] Scaling a background image

2008-06-30 Thread dwain
it seems that it used to, but the browser rendering has changed. i read, not too closely, in the svg specs how to edit the files to make it fit infinite screen resolutions. On Mon, Jun 30, 2008 at 12:05 PM, Joseph Ortenzi [EMAIL PROTECTED] wrote: I would have though a simple CSS width:100%; ,

Re: [WSG] Scaling a background image

2008-06-30 Thread Matijs
SVG is not really suitable for photos though. On Mon, Jun 30, 2008 at 7:24 PM, dwain [EMAIL PROTECTED] wrote: it seems that it used to, but the browser rendering has changed. i read, not too closely, in the svg specs how to edit the files to make it fit infinite screen resolutions. On Mon,

Re: [WSG] Scaling a background image

2008-06-30 Thread dwain
this is true. On 6/30/08, Matijs [EMAIL PROTECTED] wrote: SVG is not really suitable for photos though. On Mon, Jun 30, 2008 at 7:24 PM, dwain [EMAIL PROTECTED] wrote: it seems that it used to, but the browser rendering has changed. i read, not too closely, in the svg specs how to edit

Re: [WSG] Scaling a background image

2008-06-30 Thread Per Allan Johansson
I do it here: http://www.sydost.no/ Like this, in head style type=text/css html {height:100%;} body {height:100%; margin:0; padding:0;} #bg {position:fixed; top:0; left:0; width:100%; height:100%;} .outer_framework {position:relative; z-index:1;} /style!--[if IE 6]style type=text/css html

Re: [WSG] Scaling a background image

2008-06-30 Thread Matthew Holloway
On Tue, Jul 1, 2008 at 7:04 AM, Matijs [EMAIL PROTECTED] wrote: SVG is not really suitable for photos though. Which is mostly true but SVG can contain bitmaps and as the goal is to scale the bitmap to 100% anyway then using SVG as a container format would be appropriate (or at least identical

RE: [WSG] Scaling a background image

2008-06-30 Thread Chris Pearce
: Tuesday, 1 July 2008 6:19 AM To: wsg@webstandardsgroup.org Subject: Re: [WSG] Scaling a background image I do it here: http://www.sydost.no/ Like this, in head style type=text/css html {height:100%;} body {height:100%; margin:0; padding:0;} #bg {position:fixed; top:0; left:0; width:100%; height

Re: [WSG] Scaling a background image

2008-06-29 Thread Lynette Smith
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:

Re: [WSG] Scaling a background image

2008-06-29 Thread Matthew Holloway
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

Re: [WSG] Scaling a background image

2008-06-29 Thread dwain
On 6/29/08, Chris Pearce [EMAIL PROTECTED] 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? there is a