User Guide
934 Chapter 4: ColdFusion MX Flash Form Style Reference
Styles valid for all controls
The following styles are valid for all ColdFusion Flash format form tags except for cfformitem
tags with the following
type attributes, which do not take style attributes:
• html
• space
• text
These styles do not cause errors when used in all other tags. However, many styles do not have
any effect when used in some tags.
Style Inh Description
backgroundAlpha N Alpha (transparency) level of the SWF file or image defined by
backgroundImage. Valid values range from 0 (transparent) to 100
(opaque). The default value is 100.
backgroundColor Y Format: color; background color of the control. Has no effect if
specified in a
cfform control tag, which uses the background-color
style to control the color. Also ignored by
cfinput tags of type
button, img, submit, radiobutton, and checkbox, because they are
completely filled with the button face or other graphics.
backgroundDisabled
Color
Y Format: color; background color of components when disabled.
The default value is ##EFEEEF (light gray).
backgroundSize N Scales the image specified by
backgroundImage to different
percentage sizes. By default, the value is auto, which maintains the
original size of the image. A value of 100% stretches the image to
fit the entire screen. You must include the percent sign with the
value.
barColor Y Format: color; color of the outer bar.
borderCapColor Y Format: color; outside left and outside right color for skins.
borderColor Y Format: color; black section of a three-dimensional border or the
color section of a two-dimensional border.
borderSides N Bounding box sides. Only used when
borderStyle="solid".
Space-delimited string containing the sides of the border to show.
Order is not important. The default value is "left top right bottom".
borderStyle Y Bounding box style. The possible values are:
• inset (default)
• none
• outset
• solid
borderThickness N Bounding box thickness. Only used when borderStyle="solid". The
default value is 1.
color Y Format: color; text color of a component’s label.
cornerRadius N Radius of component corners. The default value is 0.
disabledColor Y Format: color; color of the component if it is disabled.