Try 2. Read on if that doesn't work.
Try this experiment. Create a div with a strong background color. Within, place two other overlapping divs with strong and very different background colors. No zIndexes. ("z-index" in CSS). They will paint in markup order: first div paints first. The last div painted appears "on top" of the others. Now assign a zIndex of 1 to the second (the one behind) and reload. The order switches. Assign a zIndex of 2 to the one behind. Another switch. Now assign a zIndex of 9 to the containing div. No switch. zIndexes order children of the parent, not the parent.
Doesn't work? Position (relative or absolute) the containing divs and try again.
Still doesn't work? Keep reading.
The zIndex (CSS: z-index) is used to sort stacking order for some siblings. Each positioned (relative, absolute, fixed) block-level element with a zIndex creates a "stacking context". It's unpositioned children are painted first. Its positioned children are painted in zIndex order, negative numbers, no zIndex, then positives, lowest to highest. (Painting highest last means they appear on top of the others.)
You need to give an element a zIndex higher than its siblings' zIndices if you want it on top. The default zIndex is zero, so try 1, 2 and 3. Those should be all you ever need. The zIndex of the parent (stacking context, often the div that contains the items to stack) is irrelevant to the children. The parent's zIndex is used to paint the parent in order among the parent's siblings. Once painting has started for a parent, the parent and all its children (to any generation) are painted before moving on to the next "stacking context."
Insatiable appetite for full facts? w3c CSS 2.1, search for "stacking context." Good luck!