HTML DOM Frame / IFrame marginWidth property
Frame / IFrame objects
Definition and Usage
marginWidth property sets or returns the frame / iframe element marginWidth property.
marginwidth attribute specifies the left and right edges of the page blank frame (in pixels).
grammar
frameObject.marginWidth=pixels
或者
iframeObject.marginWidth=pixels
或者
iframeObject.marginWidth=pixels
Browser Support
All major browsers support marginWidth property
Examples
Examples
Back marginwidth property values:
document.write(document.getElementById("myframe").marginWidth);
try it"
Frame / IFrame objects