Class Attribute | Internet Development Index |
Refers to a definition of a CSS style. Read/write String.
Applies To
Tag Syntax
<v:element class="expression">
Script Syntax
element.classname="expression"
expression=element.classname
Remarks
The class attribute is similar to the standard HTML class attribute used with CSS style sheets.
Note that classname is used instead of class for scripting. Also note that for scripting, the classname can only be read; changing the value of classname will not change the rendering of the shape.
VML Standard Attribute
See Also
Example
A class for width is created with the style
.narrowstyle {width:50;height:100}
Then the width is referenced by including the style. Note that the width and height is not defined in the style attribute, but will be defined by the style.
<v:shape id="rect01" class="narrowstyle" fillcolor="red" strokecolor="red" coordorigin="0 0" coordsize="200 200" style="position:relative;top:1;left:1" path="m 1,1 l 1,200, 200,200, 200,1 x e"> </v:shape>
Note that Class only applies to CSS-type attributes.
伽师县| 长垣县| 开鲁县| 城口县| 怀集县| 昭苏县| 崇礼县| 库伦旗| 康马县| 兴山县| 彭泽县| 临安市| 江永县| 义马市| 尤溪县| 吐鲁番市| 大城县| 通道| 富蕴县| 建昌县| 宁海县| 得荣县| 阆中市| 沁阳市| 乡城县| 谢通门县| 琼海市| 冀州市| 鹤岗市| 逊克县| 广宁县| 道真| 长宁区| 松滋市| 万载县| 彰武县| 卢龙县| 隆尧县| 乐安县| 德兴市| 红原县|