HBCMS更多的中文手册参考:

MARGINHEIGHT Attribute | marginHeight参数属性

DHTML文档教程

Sets or retrieves the top and bottom margin heights before displaying the text in a frame.

dhtml语法

HTML<ELEMENT MARGINHEIGHT = iHeight... >
Scriptingobject.marginHeight [ = iHeight ]

DHTML可能的值

iHeightVariant that specifies or receives the height, in pixels.

The property is read/write. The property has a default value of 0.

Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see about dynamic properties.

remarks

margins cannot be less than 1 pixel or so large that the text cannot be displayed.

if marginheight is specified but marginwidth is not, marginwidth is set to 0.

if the document hosted in the frame or iframe has margin-top or margin-bottom properties set either through cascading style sheets (css) or through the topmargin or bottommargin properties of the body element, then this property is ignored.

是否符合公共标准

This property is defined in HTML 4.0 Non-Microsoft link and is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 Non-Microsoft link.

Applies To

FRAME, IFRAME, LAYOUTRECT

更多语法参考

marginWidth