Jump to content
xisto Community
Sign in to follow this  
Webber

Screen Resolution I need a code to help out here please...

Recommended Posts

Hey everyone.. I was just wondering if there was a code/script that I could insert into my html website to change viewers resolution from 1024x800 to 800x600 or something to that effect. It's just I use 800x600 at home, and I programme it around that, and it's fine, but on some public computers it's default to 1024x800 and can't be changed.. Is there a script to chance this??? Help plz anyone!!! Thanks in advance, Sean.

Share this post


Link to post
Share on other sites

There isn't a script like PHP or JavaScript that can change the screen resolution of the PC that is viewing the page. The only option you have if you must have a window at an exact size is to use JavaScript to set it to to that size, although then it may be blocked by popup blockers and firewalls. Your other option, and probably the best is simply to centre your site design in the page so that no matter what the resolution is it will still show fine, just with white bars down the sides of the page on larger resolutions (unless you set a background image/colour).

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.