HTML frame marginheight Attribute
HTML <frame> tag
Definition and Usage
The marginheight attribute specifies the top margin between the content and
the top and bottom of the frame.
Syntax
<frame marginheight="pixels" />
|
Syntax Example
<frame marginheight="50" />
|
Attribute Values
Value |
Description |
pixels |
Specifies the top and bottom margin of the frame in pixels. Note: You cannot set a different value for top and
bottom 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" marginheight="50" />
<frame src="frame_b.htm" marginheight="100" />
</frameset>
</html>
|
Try-It-Yourself Demos
frame
marginheight attribute example
Set the margin height of the frame-content.
HTML <frame> tag
The Altova MissionKit is a suite of intelligent XML tools, including:
XMLSpy® – industry-leading XML editor
- Support for all XML-based technologies
- Graphical editing views, powerful debuggers, code generation, & more
MapForce® – graphical data mapping tool
- Drag-and-drop data conversion with code generation
- Support for XML, DBs, EDI, Excel® 2007, text, Web services
StyleVision® – visual stylesheet designer
- Drag-and-drop stylesheet design for XML & databases
- Output to HTML, PDF, RTF, Word 2007, & more
And more…
Try before you buy with a free fully functional 30-day trial
Download today
|