Frame/IFrame marginHeight 属性

定义和用法
marginHeight 属性可设置或返回 frame/iframe 元素中 marginHeight 元素的值。
marginheight 属性框架的顶部和底部页空白(以像素为单位)。
语法
frameObject.marginHeight=pixels
或者
iframeObject.marginHeight=pixels
或者
iframeObject.marginHeight=pixels
浏览器支持
所有主要浏览器都支持 marginHeight 属性
实例
实例
返回 marginheight 属性的值:
document.write(document.getElementById("myframe").marginHeight);
