z-indexz-index*
*



Contents  *



Index  *Topic Contents
*Previous Topic: width
*Next Topic: Additional References

z-index

Description

Specifies the stacking order of positioned elements.

Syntax

{ z-index: integer | auto }

Remarks

By default (auto), the stacking order is bottom-to-top in the order that they appear in the HTML source. Positive z-index values are positioned above a negative (or lesser value) z-index. Two elements with the same z-index are stacked according to source order.

This attribute is not inherited.

Applies To

A, ADDRESS, APPLET, B, BIG, BLOCKQUOTE, BODY, CAPTION, CENTER, CITE, CODE, COL, COLGROUP, DD, DFN, DIR, DIV, DL, DT, EM, FIELDSET, FORM, H1, H2, H3, H4, H5, H6, HTML, I, INPUT, INPUT type=button, INPUT type=file, INPUT type=reset, INPUT type=submit, INPUT type=text, TEXTAREA, KBD, LABEL, LEGEND, LI, LISTING, MARQUEE, MENU, OL, P, PLAINTEXT, PRE, S, SAMP, SMALL, SPAN, STRIKE, STRONG, SUB, SUP, TABLE, TBODY, TD, TFOOT, TH, THEAD, TR, TT, U, UL, VAR, XMP

Scripting Property

zIndex

See Also

position


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.