Frame.marginWidth (Property)

The horizontal width of a margin round a frame.

Availability:

DOM level - 1
JavaScript - 1.5
JScript - 3.0
Internet Explorer - 4.0
Netscape - 6.0
Property/method value type:String primitive
JavaScript syntax:-myFrame.marginWidth

Margins flow round the entire frame. You cannot operate on them individually but you can operate on the vertical and horizontal margins separately.

This property is the size of the margins to the left and right of the frame.

See also:IFRAME.frameSpacing, IFRAME.marginWidth