|
|
home
/ reference
/ html
<frameset></frameset>

rows
cols
border
bordercolor
frameborder
The <frameset> tag is used on an index page to define the amount and size of frames on a page. It is used
in conjunction with the <frame> tag, which is used to define the attributes of each individual frame.
<frameset rows="">
| |
Description
| |
The rows attribute is used when you want your page to have more than one horizontal frame. Within the quotes,
provide a set of numbers to define the height of each frame. The numbers can be percentage values of the browser window(which should not exceed
100% when added together), pixel values, or relative scaling values(*). For example,
the code below would create three frames; the first frame would be 25% of the browser window,
the second frame would be 200 pixels tall, and the third frame's height would be the space that was left.
|
Code
| |
<frameset rows="25%, 200, *"></frameset>
|
|
<frameset cols="">
| |
Description
| |
The cols attribute is used when you want your page to have more than one vertical frame. Within the quotes,
provide a set of numbers to define the width of each frame. The numbers can be percentage values of the browser window(which should not exceed
100% when added together), pixel values, or relative scaling values(*). For example,
the code below would create three frames; the first frame would be 25% of the browser window,
the second frame would be 200 pixels wide, and the third frame's width would be the space that was left.
|
Code
| |
<frameset cols="25%, 200, *"></frameset>
|
|
<frameset border="">
| |
Description
| |
The border attribute allows the setting of the frames border width value, in pixels.
|
Code
| |
<frameset border="10"></frameset>
|
|
<frameset bordercolor="">
| |
Description
| |
The bordercolor attribute allows you to set the color of the frame borders using a hex value or a color name.
Acceptable color names are the same as for the <font> tag. (See <font>)
|
Code
| |
<frameset bordercolor="red"></frameset>
|
|
<frameset frameborder="">
| |
Description
| |
The frameset attribute allows you to set the existance of frame borders for an entire frameset.
Netscape requires the values of yes or no to be used for the frameborder attribute. Internet Explorer
requires a value of "0" for borderless frames, and also requires the use of a framespacing attribute within frameset, which must also be set to 0.
|
Code
| |
<frameset frameborder="no"></frameset>
<frameset frameborder="0" framespacing="0"></frameset>
|
|
|