There is no such thing as a "page size" in HTML. The user can size their browser to any size they wish. That's as it should be.
JavaScript does provide, however, a window.resize() method. Using it creates a very negative user experience. The only way I've seen this work well is for your main page to open a new window, and size the new window. Use the window.open() method.
tgreer
Made Her Cry
2,118 posts since Dec 2004
Reputation Points: 227
Solved Threads: 37
framesets are outdated, and if you were to look ath the results of whatever code you developed from the BS supplied as a fix on any other browsers or screen resolution, it looks nothing like you expect
current best practice for screen layout ueses ems and % sized elements as per W3c guidelines, and nothing uses frames
almostbob
Posting Sensei
3,149 posts since Jan 2009
Reputation Points: 571
Solved Threads: 376