style.bottom (Property)

A positioning reference point.


CSS level - 2
DOM level - 2
JavaScript - 1.5
JScript - 5.0
Internet Explorer - 5.0
Netscape - 6.0
Property/method value type:String primitive
JavaScript syntax:-myStyle.bottom
CSS syntax:bottom: aValue
Argument list:aValueA positioning value

A CSS-P positioning style attribute that controls the location of an element relative to its containing parent element. The bottom edges of the two elements are used as the reference points.

The value can be specified in the usual pixel or fractional em-dash measurement units or the auto keyword can be used to let the browser do the positioning itself.

The exact positioning is affected by settings for padding, border, margin, and (particularly the mode of) the position property.

See also:Measurement units, style.left, style.pixelBottom, style.posBottom, style.right,