Please have a look over
http://www.w3.org/TR/CSS21/visuren.html#propdef-z-index