asp.net.ph

Skip Navigation LinksHome > Abakada: Back to Basics > Language References > HTML Element Attributes > ROWS Attribute

ROWS Attribute | rows Property


Sets or retrieves a comma-delimited string of frame heights.

Syntax

Inline <FRAMESET ROWS = "iHeight [ ,iHeight... ] "
Script object.rows = "iHeight [ ,iHeight... ] " ]

Possible Values

iHeight Integer specifying the frame height in pixels.
iHeight% Integer specifying the frame height as a percentage of total available width.
iHeight* Integer specifying the frame height as a relative value. After allocating pixel or percentage values, the remaining space is divided among all relative-sized frames.

The property is read/write with no default value.

Remarks

The number of comma-separated items is equal to the number of frames contained within the FRAMESET, while the value of each item determines the frame height.

Example

The following example defines a two-row frame, with the first occupying 40 percent of the available height and the second occupying the remaining 60 percent.

<frameset ROWS="40%, 60%">

The next example defines a four-row frame. The first is 50 pixels high and the fourth is 80 pixels high. The second will occupy two-thirds of the remaining height, while the third will occupy the final one-third of the remaining height.

<frameset ROWS="50, 2*, *, 80">
Applies To

FRAMESET

See Also

cols, Authoring Your Pages: Frames and Framesets



Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note