JSSTag.marginBottom (Property)

The margin at the bottom of an object.

Availability:

CSS level - 1
JavaScript - 1.2
Netscape - 4.0
Deprecated
Property/method value type:String primitive
JavaScript syntax:NmyJSSTag.marginBottom
NmyJSSTag.marginBottom = aWidth
CSS syntax:margin-bottom: aWidth
Argument list:aWidthA CSS length value

The JSSTag.marginBottom property corresponds to the margin-bottom CSS property.

The content of an object is enclosed in a bounding extent rectangle. Around this is placed a padding space controlled by the padding parameters, which expands the bounding - the border is then placed around this. The border width increases the bounding rectangle around the object still further. Last of all the margin is placed around the outside. This forms a rectangle that is used to locate the object adjacent to any other objects or page margins.

The value of this property can be specified as follows:

In addition a keyword can be used:

The auto setting need not be applied to all of the margins, but according to how it is used, some fairly complex margin computation is applied. You should consult one of the standard texts on CSS styles.

The initial value is set to 0 allowing for no margin value at all.

This value is not inherited from its parent container element.

Warnings:

See also:Measurement units