Left Attribute | Internet Development Index |
Determines the position of the shape relative to the element left of it in the document flow. Read/write String.
Applies To
Tag Syntax
<v:element style="left: expression">
Script Syntax
element.style.left="expression"
expression=element.style.left
Remarks
The Left attribute is similar to the standard HTML Left attribute for styles.
Units may be mapped to the parent element or may be in absolute units. This attribute will not be written out for shapes anchored inline.
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 left value of the shape is set to 1 in the example below.
<v:rect id=myrect fillcolor="red" style="position:relative;top:1;left:1;width:20;height:20"> </v:rect>
Left Attribute Example. (Requires Microsoft Internet Explorer 5 or greater.)
文山县| 绥化市| 洞口县| 腾冲县| 德格县| 甘南县| 江津市| 丹阳市| 盈江县| 抚顺县| 雷州市| 泰兴市| 景谷| 吐鲁番市| 苏尼特右旗| 湄潭县| 扬州市| 专栏| 琼海市| 襄城县| 丘北县| 石河子市| 固阳县| 池州市| 宜章县| 普洱| 全南县| 广昌县| 新晃| 清原| 呼图壁县| 报价| 霍林郭勒市| 凤翔县| 晋城| 锡林浩特市| 长垣县| 牙克石市| 松江区| 龙岩市| 平南县|