You are here: Reference > HTML > attributes > border (frameset)

border attribute (frameset)

Browser support:
Specifies the width of the border between frames.
To manipulate the border of a frame more efficiently, use the frameBorder attribute and/or the border style property.
JavaScript page for this attribute: border. You can find other example(s) there.

Possible values:

String that sets the space between frames, with an integer, optionally followed by a 'px' (pixel) unit designator.
Default: this attribute has no default value.

Example HTML code 1:

This example illustrates the use of the border attribute:
Code
topFrame.htm
mainFrame.htm
<frameset rows="110,*" cols="*" border="10px">
    <frame src="topFrame.htm" name="topFrame" scrolling="No"/>
    <frame src="mainFrame.htm" name="mainFrame"/>
</frameset>
Did you find this example helpful? yes no

Supported by tags:

Related pages:

External links:

User Contributed Comments

Post Content

Post Content