asp.net.ph

Skip Navigation Links

posBottom Property

Sets or retrieves the bottom position of the object in the units specified by the cascading stylesheet ( CSS ) bottom attribute.

Syntax


HTML N/A
Script object.style.posBottom [ = iBottom ]

Possible Values


iBottom Any valid floating-point number.

The property is read/write with no default value.

Remarks

This property reflects the value of the cascading stylesheet ( CSS ) bottom attribute for positioned items. This property always returns zero for nonpositioned items because "bottom" is not meaningful unless the object is positioned.

Setting this property changes the value of the bottom position but leaves the length units designator for the property unchanged.

Unlike the bottom property, the property value is a floating-point number, not a string.

For more information on how to access the dimension and location of elements on the page through the document object model, see Measuring Element Dimension and Location.

Example

The following sample demonstrates the use of the posBottom object property to set a positioned DIV to the bottom of the client area.

oDiv.style.posBottom = 0;
See Also

pixelBottom



>

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note