English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
The marginwidth attribute specifies the width between the content and the frame on the left and right sides (in pixels).
The left and right margins of the first frame are 20 pixels, the left and right margins of the second frame are 3 Pixels:
<frameset cols="50%,50%"> <frame src="frame_a.htm" marginwidth="20"> <frame src="frame_b.htm" marginwidth="3"> </frameset>Test it out ‹/›
IEFirefoxOperaChromeSafari
All major browsers support the marginwidth attribute.
HTML5 The <frame> tag is not supported.
The marginwidth attribute specifies the width between the content and the frame on the left and right sides (in pixels).
<frame marginwidth="pixels">
Value | Description |
---|---|
pixels | Specifies the left and right margins of the frame. |