The JSSTag.paddingBottom property corresponds to the padding-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. The padding expands the bounding. Then the border is 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:
A length value in one of several units of measure
A percentage of the width of the object
The initial value is set to 0 allowing for no padding value at all.
This value is not inherited from its parent container element.
Deprecated for any further use. This was available only in Netscape 4.0 and is completely removed from Netscape 6.0.
See also: | Measurement units |
Prev | Home | Next |
JSSTag.marginTop | Up | JSSTag.paddingLeft |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |