How to Set HTML Frameset Pixels

When dividing up a screen using frames in your HTML files, you may declare frame heights and widths using percentages, pixels, relative sizes or a combination of these. When using pixels to define sizes, use a relative size for at least one of your frames because you don't know what screen resolutions visitors to your website use -- and certainly not everybody uses the same one. This way, it ensures that the frames with a relative size always take up the remainder of the screen that you don't reserve for absolute pixel values.

Instructions

    • 1

      Open the frameset document and insert the cursor in the "<frameset>" element in the file.

    • 2

      Change the values of the "rows" or "cols" attribute, depending on which you use, to redefine the parameters of the frames. For example, type the following: <FRAMESET cols="150px, *">. This defines a page with two frame columns. The left frame is 150 pixels wide and the right frame's width uses a relative size that takes up the rest of the screen, regardless what resolution the visitor uses on his computer.

    • 3

      Save the frameset document and upload it to your Web server.

Related Searches:

References

Comments

You May Also Like

  • Queen Vs. Full Size Mattress Set

    Mattresses come in a variety of sizes including queen size and full size. A mattress set consists of a mattress and a...

  • How to Touch Up Car Paint

    Specifically formulated automotive repair paint is available from stores and websites that cater to those people who want to keep their car...

Related Ads

Featured