javascript STYLE zIndex

zIndex NN 6 IE 4 DOM 2  

 

Read/Write  

For a positioned element, this specifies the stacking order relative to other elements within the same parent container.

 
Example
 
document.getElementById("myDIV").style.zIndex = "3"
 
Value

Integer. Netscape 6 prefers that this value be in string form (that's how the property returns its value), while IE returns a number.

 
Default

0


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