Is it possible to change the size of a page based on what the user's screen resolution is? For example I designed a site that fills the whole screen in 800x600, but I now need that site to fill the whole screen in 1024x768 also. Can this be accomplished by detecting the screen resolution and than resizing the page.
If my resolution is 1024x768 but I only keep my window sized to 800x600, then your page will be too wide for my liking.
If you really want to use that "detect resolution" script, the only smart way is create 2 versions of the website, one for each resolution, and then use the script to redirect the visitor to the correct one.
Of course I would be too lazy to maintain two versions of a website.