HTML
JavaScript DHTML
-
Home
-
JavaScript DHTML
-
HTML
- Relationships Among zIndex Values (W3C)
/*
JavaScript Bible, Fourth Edition
by Danny Goodman
John Wiley & Sons CopyRight 2001
*/
layer.style.zIndex
layer.style.zIndex Property of Sibling Layers
Enter new zIndex values to see the effect on three layers.
height:190; z-Index:0; background-color:coral">
Original Bottom Layer
height:190; z-Index:0; background-color:aquamarine">
Original Middle DIV height:190; z-Index:0; background-color:yellow">
Original Top Layer