Width Attribute | Internet Development Index |
Defines the width of the shape. Read/write String.
Applies To
Tag Syntax
<v:element style="width: expression">
Script Syntax
element.style.width="expression"
expression=element.style.width
Remarks
The Width attribute is similar to the standard HTML Width attribute for styles.
Units may be mapped to the parent element or may be in absolute units.
Values include:
| Value | Description |
| Auto | Default position of an element in the flow of the page. |
| units | A number with an absolute units designator (cm, mm, in, pt, pc, or px) or a relative units designator (em or ex). If no units are given, pixels (px) is assumed. |
| percentage | Value expressed as a percentage of the parent object's width. |
VML Standard Attribute
See Also
Example
The width of the shape is 25.
<v:rect id=myrect fillcolor="red" style="position:relative;top:1;left:1;width:25;height:20"> </v:rect>
Width Attribute Example. (Requires Microsoft Internet Explorer 5 or greater.)
文山县| 新平| 伊宁市| 佛学| 靖江市| 弋阳县| 三明市| 台安县| 黔江区| 文成县| 大关县| 合肥市| 和硕县| 浠水县| 垫江县| 阿坝| 大连市| 嵊州市| 宜良县| 崇文区| 乌拉特前旗| 息烽县| 大兴区| 苏尼特左旗| 思南县| 千阳县| 中江县| 丽江市| 固始县| 通江县| 凤庆县| 贵港市| 天镇县| 甘洛县| 湘潭市| 津市市| 自贡市| 苍山县| 安义县| 浙江省| 建水县|