Definition and Usage
The marginwidth attribute specifies the top margin between the content and the left and right side of the frame.
Syntax
<frame marginwidth="pixels" /> |
Syntax Example
<frame marginwidth="50" /> |
Attribute Values
Value | Description |
pixels | Specifies the left and right side margin of the frame in pixels.Note: You cannot set a different value for left and right side margin with this attribute. |
Browser Support
The attribute is supported in all major browsers.
Example
<html>
<frameset cols="50%,50%">
<frame src="frame_a.htm" marginwidth="50" />
<frame src="frame_b.htm" marginwidth="100" />
</frameset>
</html> |