Name
zIndex — NN 4 IE n/a DOM n/a
Synopsis
Read/Write
For a positioned element, the stacking order relative to other elements within the same parent container. See Chapter 4 for details on relationships of element layering amid multiple containers.
Example
document.myIlayer.zIndex = 3
Value
Integer.
Default
0
Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.