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

frameSpacing attribute (frameset)

Browser support:
Sets the space between frames in pixels.
JavaScript page for this attribute: frameSpacing. 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: 2.

Example HTML code 1:

This example illustrates the use of the frameSpacing attribute:
<frameset rows="*" cols="200, *" framespacing="30">
    <frame src="topFrame.htm" name="topFrame" scrolling="No"/>
    <frame src="mainFrame.htm" name="mainFrame"/>
Did you find this example helpful? yes no

Supported by tags:

Related pages:

External links:

User Contributed Comments

Post Content

Post Content