Pete Freitag Pete Freitag

Tip for Resizing Your Browser Window

Published on May 30, 2007
By Pete Freitag
web

Testing your web sites at lower resolution is always a good idea (no the rest of the world doesn't view web sites at 1680x1050 like web developers sometimes do). Here's a quick tip that will let you resize your browser window to a specific size.

Just type the following in to your address bar and hit enter:

javascript:window.resizeTo(1024,768);

It will resize your window to the size specified. I find it handy to have a bookmarklet for 800x600 and 1024x768. You can drag those two links to your bookmark bar to create bookmarklets.



bookmarklets resolution web design browser

Tip for Resizing Your Browser Window was first published on May 30, 2007.

If you like reading about bookmarklets, resolution, web, design, or browser then you might also like:

Discuss / Follow me on Twitter ↯

Comments

Damn Pete - very cool idea. You mean the rest of the world doesn't have 22-24" widescreens?
by todd sharp on 05/30/2007 at 7:07:26 PM UTC
Or you could just use the viewport resize options of the Web Developer toolbar FF extension.
by Martin on 05/31/2007 at 3:32:47 AM UTC
Great solution for those who cannot have the developer FF extension. Remember some work places have the machines so locked-down, the thought of installing FF on any of the boxes would make the IT guys knees weak.

Great tip, thanks!
by jyoseph on 06/05/2007 at 7:19:52 AM UTC
Good point jyoseph. :)
by Ben on 06/05/2007 at 10:55:37 AM UTC
I'm glad you guys found it handy... Your Welcome!
by Pete Freitag on 06/05/2007 at 11:03:51 AM UTC
TO CURE MY OVERSIZED BROWSER (ON 98+/SE)
I WENT TO DSKTOP>RT CLKD>PROPERTIES> ADVANCED>SETTINGS>SET PIXELS TO 1024X768>CLICKED APPLY>SELECTED YES IN POP-UP>CLICKED OK AND RE-STARTED. NO PROBLEM SINCE
by MIMI V. on 10/26/2009 at 8:48:33 PM UTC