1. About.com
  2. Computing & Technology
  3. Web Design / HTML

Discuss in my forum

Using Z-Index Stacking Order in CSS Style Sheets

By , About.com Guide

When you use the z-index property to define a stacking order for your styles, you need to also use the position property. If the position is not defined (either relative or absolute), the z-index will have no effect on the positioning results. Items will be stacked in the order they display on the page.

©2012 About.com. All rights reserved. 

A part of The New York Times Company.