y
Summary
Gets or sets an element’s vertical (y) position.
Property of css/cssom/propertiescss/cssom/properties
Syntax
var result = element.y;
element.y = value;
Notes
Remarks
A positioned element is an element whose position property is set to relative
, absolute
or fixed
. For more information about element positioning, see About Element Positioning.
Syntax
Standards information
See also
Related pages
- DragEventDragEvent
- MouseEventMouseEvent
- MouseWheelEventMouseWheelEvent
- WheelEventWheelEvent
Reference
- clientYclientY
- offsetYoffsetY
- pageYpageY
- screenYscreenY
Attributions
Microsoft Developer Network: [Windows Internet Explorer API reference Article]