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.
理塘县| 钟祥市| 石景山区| 游戏| 翁源县| 仙桃市| 高台县| 兴国县| 托里县| 新巴尔虎右旗| 剑阁县| 盐边县| 丰宁| 繁峙县| 乃东县| 博罗县| 兴业县| 东方市| 新宾| 阿拉善左旗| 广丰县| 密山市| 丰原市| 民丰县| 荣成市| 丹东市| 蓬莱市| 鲜城| 新龙县| 砀山县| 长寿区| 徐水县| 无棣县| 鹤岗市| 信丰县| 怀化市| 新化县| 武城县| 凤台县| 宁远县| 扎兰屯市|