This page is In Progress

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

pixelBottom

Property of css/cssom/propertiescss/cssom/properties

Syntax

var result = element.pixelBottom;
element.pixelBottom = value;

Examples

This example uses the pixelBottom property to set a positioned div to the bottom of the client area.

oDiv.style.pixelBottom = 0;

Notes

Remarks

The pixelBottom property reflects the value of the Cascading Style Sheets (CSS) bottom attribute. Unlike the bottom property, the pixelBottom value is an integer, not a string, and is always interpreted in pixels. For more information about how to access the dimension and location of an object on the page through the Dynamic HTML (DHTML) Document Object Model (DOM), see Measuring Element Dimension and Location with CSSOM in Internet Explorer 9.

Syntax

pixelBottom: <integer>

Requirements

{

See also

Related articles

CSSOM

Related pages

Attributions