HTML frame marginheight property
Examples
The first frame of the top margin and the bottom margin of 50 pixels, the second frame on margin and lower margin is 0 pixels:
<frameset cols="50%,50%">
<frame src="frame_a.htm" marginheight="50">
<frame src="frame_b.htm" marginheight="0">
</frameset>
<frame src="frame_a.htm" marginheight="50">
<frame src="frame_b.htm" marginheight="0">
</frameset>
try it"
Browser Support
All major browsers support marginheight property.
Definition and Usage
HTML5 does not support the <frame> tag.
The height between the upper and lower marginheight attribute specifies the content frame and the frame, in pixels.
grammar
<frame marginheight="pixels">
Property Value
值 | 描述 |
---|---|
pixels | 规定框架的上边距和下边距。 |
HTML <frame> tag