The Same Size | HTML Goodies

The Same Size

Written By
Joe Burns
Joe Burns
Jan 4, 2005
1 minute read

Script by: Oscar F.

(There is no script on this specific page)

     This script is quite brilliant, actually. What
it does is open a window the same size as the viewer’s screen. Those of you who
are concerned with writing HTML pages to perfectly fit in multiple screen
settings — this will assist you. Your page will display in a browser window the
exact size as the monitor.

     Be sure to change out the name of the page you
want to display in the JS code. I have the page index.html in there now.

Grab the Script

HTML Goodies Logo

The original home of HTML tutorials. HTMLGoodies is a website dedicated to publishing tutorials that cover every aspect of being a web developer. We cover programming and web development tutorials on languages and technologies such as HTML, JavaScript, and CSS. In addition, our articles cover web frameworks like Angular and React.JS, as well as popular Content Management Systems (CMS) that include WordPress, Drupal, and Joomla. Website development platforms like Shopify, Squarespace, and Wix are also featured. Topics related to solid web design and Internet Marketing also find a home on HTMLGoodies, as we discuss UX/UI Design, Search Engine Optimization (SEO), and web dev best practices.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.