z-index | WebReference

z-index

Name: z-index

Description: Specifies the placement of the element along the z-axis.

Browser Compatibility: IE 4+ / NN 4+

Inherited: No

Values:

Code Example:

h3 {
   display: block;
   position: absolute;
   margin: 50px;
   z-index: 3;
}

Comments: Positive numbers bring the element closer to the user, negative numbers position the element further away from the user.