Click to return to the DHTML, HTML     
margin-top Attribute | ma...     MAXLENGTH Attribute | max...     DHTML Properties    
Web Workshop  |  DHTML, HTML & CSS

MARGINWIDTH Attribute | marginWidth Property


Sets or retrieves the left and right margin widths before displaying the text in a frame.

Syntax

HTML<ELEMENT MARGINWIDTH = iWidth ... >
Scriptingobject.marginWidth [ = iWidth ]

Possible Values

iWidthInteger that specifies the width, in pixels.

The property is read/write with no default value.

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

Remarks

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

If marginWidth is specified but marginHeight is not, marginHeight is set to 0.

Applies To

[ Object Name ]
PlatformVersion
Win16:
Win32:
Mac:
Unix:
WinCE:

FRAME, IFRAME

See Also

marginHeight



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.