If your Web page is formatted to look best in a certain size of window, you can try resizing the visitor’s browser using the resizeTo() method. Do this when the page loads. You need to provide the width and length values in pixels. This code resizes the browser to 640 by 480.
Window.resizeTo()This page looks best in a 640 by 480 browser window.