javascript layer top
@July 12, 2008, 5:42 a.m.
top | NN |4| IE n/a Chrome/Safari/DOM n/a |
Read/Write | |
For positionable elements, defines the position of the top edge of an layer element's box (content plus top padding, border, and/or margin) relative to the top edge of the next outermost block content container. All measures are in pixels. When the element is a relative-positioned inline layer, the offset is based on the top edge of the inline location of where the element would normally appear in the content. |
|
Example | |
document.myIlayer.top = 50; |
|
Value | |
Integer. |
|
Default | |
0 |
Permanent URL:
http://javascript.gakaa.com/layer-top.aspx
Powered by Linode.