|
Dreamweaver Extensions
|
Supported CSS properties
Flash Player supports a subset of properties in the original CSS1 specification (www.w3.org/TR/REC-CSS1). The following table shows the supported CSS properties. (Each ActionScript property name is derived from the corresponding CSS property name; the hyphen is omitted and the subsequent character is capitalized.)
|
CSS property
|
Usage and supported values
|
|
text-align
|
Recognized values are left, center, right, and justify.
|
|
font-size
|
Only the numeric part of the value is used. Units (px, pt) are not parsed; pixels and points are equivalent.
|
|
text-decoration
|
Recognized values are none and underline.
|
|
margin-left
|
Only the numeric part of the value is used. Units (px, pt) are not parsed; pixels and points are equivalent.
|
|
margin-right
|
Only the numeric part of the value is used. Units (px, pt) are not parsed; pixels and points are equivalent.
|
|
font-weight
|
Recognized values are normal and bold.
|
|
kerning
|
Recognized values are true and false.
|
|
font-style
|
Recognized values are normal and italic.
|
|
letter-spacing
|
Only the numeric part of the value is used. Units (px, pt) are not parsed; pixels and points are equivalent.
|
|
text-indent
|
Only the numeric part of the value is used. Units (px, pt) are not parsed; pixels and points are equivalent.
|
|
font-family
|
A comma-separated list of fonts to use, in descending order of desirability. Any font family name can be used. If you specify a generic font name, it is converted to an appropriate device font. The following font conversions are available: mono is converted to _typewriter, sans-serif is converted to _sans, and serif is converted to _serif.
|
|
color
|
Only hexadecimal color values are supported. Named colors (such as blue) are not supported. Colors are written in the following format: #FF0000.
|
|
display
|
Supported values are inline, block, and none.
|
|