How to Expand a Sliced Web Page

Frames, or frame sets, are used in Hypertext Markup Language, or HTML, to slice a Web page into multiple documents. Frames contain two or more separate pages, consolidated into a single page. You can use the "cols" and "rows" values to expand a sliced Web page in a frame set, or use "marginheight" and "marginwidth" to increase the amount of available space in a single frame. Requiring one of the frames to be larger than the other is common, particularly if one frame is used to navigate the domain, and the other to display the contents of a link.

Instructions

    • 1

      Open the page containing the frame elements. Locate for code that looks similar to the following:

      <frameset>
      <frame>
      </frameset>

    • 2

      Change the values in "cols" or "rows" to expand the size frame in a sliced Web page. For example, if the value of "cols" in the "<frameset>" tag are equal to "20%,30%,50%," and you want to increase the size of the first frame by 10%, you could use the following code:

      <frameset cols="30%,30%,40%">

      All together, the size of the frames should equal 100 percent or the width of the desired resolution, in pixels.

    • 3

      Convert "marginheight" and "marginwidth" to zero to expand the available space in each frame:

      <frame src="http://myframe/" marginheight="0" marginwidth="0">

    • 4

      Remove "noresize" from the "<frame>" tag to allow visitors to expand a sliced Web page as needed.

Tips & Warnings

  • "Cols" is used for frames that are placed side by side, while "rows" is used for frames that are placed one on top of the other.

  • The values in "cols" and "rows" are in numerical order, so if the value of cols is "30%,20%,50%," "30%" would correspond to the first frame, "20%" to the second, and "50%" to the third.

Related Searches:

References

Comments

Related Ads

Featured