pixelBottom property
Sets or retrieves the bottom position of the object.
Syntax
pixelBottom:
<integer>
Property values
- integer
-
An Integer that specifies or receives the bottom position in pixels.
CSS information
| Applies To | All elements |
|---|---|
| Media | visual |
| Inherited | no |
| Initial Value |
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.
Examples
This example uses the pixelBottom property to set a positioned div to the bottom of the client area.
oDiv.style.pixelBottom = 0;
Requirements
|
Minimum supported client |
Windows XP |
|---|---|
|
Minimum supported server |
Windows 2000 Server |
|
Header |
|
|
IDL |
|
|
DLL |
|
See also