Re: [css-d] screen area detection/alt style sheets

2007-03-31 Thread Gate Wizard
This is a CSS-Discussion group, javascript it is not. A CSS method would be to use: .container { min-width: 780px; /* be nice to 800x600 */ max-width: 1250px; /* not stretch too much on hi-res */ } and for IE6, since it doesn't understand min/max-widths... inside your ie.css style sheet: *

[css-d] screen area detection/alt style sheets

2007-03-27 Thread n h
Hi, I'm new to the list and am looking for some (hopefully simple) javascript that detects the browser window width and then delivers one style sheet for window widths 900 px and smaller, and another style sheet for screens wider than 900 px (or whatever measurements are entered into the script).