www.fgks.org   »   [go: up one dir, main page]

Click to Rate and Give Feedback
Properties
 rows Property
ROWS Attribute | rows Property

Sets or retrieves the frame heights of the object.

Syntax

HTML<FRAMESET ROWS = sHeight... >
Scripting[ sHeight = ] FRAMESET.rows

Possible Values

sHeightInteger that specifies or receives one of the following values.
heightInteger that specifies the frame height, in pixels.
percentageInteger, followed by a %. The value is a percentage of total available height.
height*Integer that specifies 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. The property has 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.

Examples

This 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%">

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

<FRAMESET ROWS="50, 2*, *, 80">

Standards Information

This property is defined in HTML 4.0 World Wide Web link and is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 World Wide Web link.

Applies To

FRAMESET

See Also

cols
Tags What's this?: Add a tag
Community Content
 
Add Community Content
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker
DCSIMG