Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

HTML DOM Frameset rows property

Frameset rows property

Frameset Object Reference Frameset Object


Definition and Usage

The rows property sets or returns the number and size of rows in a frameset.

A comma-separated list of pixels or percentages defines the number and height of rows.

Syntax

framesetObject.rows=

values

The rows property can be one or more of the following values:

Value Description
pixels Row height can be specified in pixels (e.g. "100px" or "100")
% Row height can be specified as a percentage (e.g. "50%")
* Remaining available space

Browser support

Internet Explorer Firefox Opera Google Chrome Safari

All major browsers support the rows property.


Example

In our example, we first create an HTML document containing a frameset with two columns. Each column is set to 50% of the browser window:

  

  

Source code for "frame_rows.htm":

Example

Try it »


Frameset Object Reference Frameset Object