javascript STYLE position

positionNN 6 IE 4 DOM 2  

Read-only  

For positionable elements, returns the value assigned to the style sheet position attribute. This property is actually read/write, but you cannot change a positioned element into a static one or vice-versa.

 
Example
 
var posType = document.getElementById("myDIV").style.position;
 
Value

String constant: absolute | fixed | relative | static. The fixed value is not supported in IE for Windows through Version 6.

 
Default

None.


1893,Nickname,Homepage or email,Comments here,Add comment