js访问在iframe的设定网页空白高度和marginwidth属性

js访问在iframe的设定网页空白高度和marginwidth属性
本文阐述了JS如何获取设定网页空白高度和iframe marginwidth属性。分享给你供你参考。以下是如下:
< iframe id=myFramesrc=demo_iframe .htm
设定网页空白高度=50marginwidth =50>
您的浏览器不支持iframe。
的marginwidth设定网页空白高度属性和价值:

(document.getelementbyid document.write(myFrame)。MarginHeight);
(document.getelementbyid document.write(myFrame)。MarginWidth);

希望本文能对大家的javascript程序设计有所帮助。

tag:属性网页空白高度电脑软件

相关内容