pixelTop
Summary
Reflects the value of the Cascading Style Sheets (CSS) top attribute.
Property of css/cssom/propertiescss/cssom/properties
Syntax
var result = element.pixelTop;
element.pixelTop = value;
Notes
Remarks
The pixelTop property reflects the value of the Cascading Style Sheets (CSS) top attribute. Use the offsetTop property to calculate actual positions within the document area. Unlike the top property, the pixelTop value is an integer, not a string, and is always interpreted in pixels.
See also
Related pages
- runtimeStyleruntimeStyle
- stylestyle
- posTopposTop
Attributions
Microsoft Developer Network: [Windows Internet Explorer API reference Article]