Z-Index Attribute | Internet Development Index |
Determines the display order of overlapping shapes. Read/write String.
Applies To
Tag Syntax
<v:element style="z-index: expression">
Script Syntax
element.style.zindex="expression"
expression=element.style.zindex
Remarks
The Z-Index attribute is similar to the standard HTML Z-Index attribute for styles.
Values include:
| Value | Description |
| Auto | The order that the shapes appear in the HTML page will be used, bottom to top. |
| order | A number that represents the stacking precedence. A shape with a a higher number will be displayed as if it were overlapping (in "front" of) a shape with a lower number. Negative numbers can be used. |
VML Standard Attribute
Example
The red shape will be displayed in "front" of the blue shape, because it has a higher z-index.
<v:rect id=bluerect fillcolor="blue" style="position:relative;top:1;left:1;width:20;height:20;z-index:1"> </v:rect>
<v:rect id=redrect fillcolor="red" style="position:relative;top:10;left:10;width:20;height:20;z-index:2"> </v:rect>
Z-Index Attribute Example. (Requires Microsoft Internet Explorer 5 or greater.)
左云县| 内丘县| 镇安县| 无为县| 金乡县| 乌兰浩特市| 清镇市| 台州市| 洛宁县| 吐鲁番市| 潼关县| 陕西省| 馆陶县| 富阳市| 隆昌县| 资溪县| 桐梓县| 洛扎县| 昌江| 牡丹江市| 碌曲县| 乌兰县| 怀化市| 剑阁县| 榆林市| 抚州市| 永新县| 西乌珠穆沁旗| 大港区| 通道| 伊宁市| 法库县| 平湖市| 兴和县| 清原| 民县| 泰州市| 澄迈县| 明光市| 山西省| 南靖县|