Technology Programming

How to Size an iFrame

    • 1). Log in to your Web server.

    • 2). Open the HTML page in which you want to include an iframe.

    • 3). Insert the following iframe code anywhere between the <body> and </body> tags:

      <iframe

      height="150"

      width="150"

      src="http://www.website.com/">

      </iframe>

    • 4). Replace the numbers listed next to "height" and "width" to the actual sizes (in pixels) in which you want the iframe to appear. Also remember to change "http://www.website.com" to the actual URL you want to appear inside the iframe.

    • 5). Publish your page.

Leave a reply