Friday, July 17, 2009

Web: Resizing the Browser Window

Use this javascript snippet to test web pages at different browser sizes:
javascript:resizeTo(1024, 768)
Enter that into your browser's location bar and it should resize your window to 1024x768 (the most common resolution, currently). The first value is the width in pixels. The second is the height.

Here are resize links to the five most popular resolutions. Bookmark these or drag them to your toolbar for quick access.
There are also browser plugins that can adjust the window size, such as Firefox's Web Developer Toolbar.

No comments: