English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
Die Eigenschaft marginheight bestimmt die Höhe zwischen dem Inhalt und dem Rahmen der Ober- und Unterkante (in Pixel). HTML5The <frame> tag is not supported.
The top and bottom margins of the first frame are 30 pixels, the top and bottom margins of the second frame are 5 Pixels:
<frameset cols="50%,50%"> <frame src="frame_a.htm" marginheight="30"> <frame src="frame_b.htm" marginheight="5"> </frameset>Test it out ‹/›
IEFirefoxOperaChromeSafari
All major browsers support the marginheight attribute.
HTML5 The <frame> tag is not supported.
The marginheight attribute specifies the height between the content and the top and bottom of the frame (in pixels).
<frame marginheight="pixels">
Value | Description |
---|---|
pixels | Specify the top and bottom margins of the frame. |