HTML DOM Frame / IFrame marginHeight property
Frame / IFrame objects
Definition and Usage
marginHeight property sets or returns the value of frame / iframe element marginHeight elements.
marginheight property frame top and bottom blank (in pixels).
grammar
frameObject.marginHeight=pixels
或者
iframeObject.marginHeight=pixels
或者
iframeObject.marginHeight=pixels
Browser Support
All major browsers support marginHeight property
Examples
Examples
Return Value marginheight property:
document.write(document.getElementById("myframe").marginHeight);
try it"
Frame / IFrame objects