How to Adjust Web Page Size

104 14
    • 1). Start your computer's text editor program and bring up the Web page you want to adjust.

    • 2). Place your cursor between the "<head></head>" tags and enter the following CSS:

      <style type="text/css">

      <!--

      -->

      </style>

    • 3). Type "body" and a pair of curly brackets after the first set of dashes to create the style that manages the whole page. Enter "width: ;" and "height: ;" between the curly brackets. To illustrate:

      <!--

      body { width: ; height: ; }

      -->

    • 4). Enter a number value in pixels (px) or percentages (%) after the width and height attributes. For example:

      body { width: 750px; height: 600px; }

      A pixel number gives you a fixed size for the dimensions of your page, while a percentage enables the browser to interpret these measurements.

    • 5). Save your page and click the "Open" or "Open File" option under your browser's "File" menu to preview your site. Make adjustments (if needed) and save your file again. Your finished CSS code looks like the following:

      <style type="text/css">

      <!--

      body { width: 750px; height: 600px; }

      -->

      </style>

Source...
Subscribe to our newsletter
Sign up here to get the latest news, updates and special offers delivered directly to your inbox.
You can unsubscribe at any time

Leave A Reply

Your email address will not be published.