Name

ROWS — NN 2 IE 3 HTML 4

Synopsis

ROWS=”rowLengthsList"

Optional

Defines the sizes or proportions of the row arrangement of frames in a frameset. If it is the intent to use the FRAMESET element to create frames with multiple rows, you must assign a list of values to the ROWS attribute.

Row size is defined in one of three ways:

  • An absolute pixel size

  • A percentage of the height available for the entire frameset in the browser window

  • A wildcard (*) to represent all available remaining space in the browser window after other pixels and percentages have been accounted for

Use an absolute pixel size when you want the height of a frame row to be the same no matter how the user has sized the overall browser window. This is especially useful when the frame is to display an object of fixed height, such as an image. Use a percentage when you want the frame height to be a certain proportion of the frameset’s height, no matter how the user has adjusted the size of the overall browser window. If you use all percentage values for the ROWS attribute, they should add up to 100%. If the values don’t add up to 100%, the browser makes the rows fit anyway. Finally, use the asterisk wildcard value to let the browser calculate the height of one row when all other rows in the frameset have fixed or percentage values assigned to them. Separate the values within the attribute value string with commas.

You can mix and match all three types of values in the attribute string. For example, consider a three-row ...

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.