Click to See Complete Forum and Search --> : Script


blondini
04-11-2003, 04:04 PM
Im wanting a script that resizes a website to what ever the viewers size of screen and resolution.

thanks :o)

AdamGundry
04-11-2003, 04:26 PM
It's best to design your site using relative size units such as %, em, etc. rather than using pixels. If done correctly, your site should work at all common resolutions without a problem.

Of course, if you _must_ detect the screen resolution, use screen.width in Javascript to find the width and screen.height to... you get the idea.

Adam