Adobe COLDFUSION 9 Manual page 783

Developing applications
Hide thumbs Also See for COLDFUSION 9:
Table of Contents

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Requesting and Presenting Information
Length format
You specify styles that take length or dimension values, including font sizes, in pixels.
The
style property lets you use a set of keywords in addition to numbered units. You can use the following
fontSize
keywords when you set the
fontSize
xx-small
x-small
small
medium
large
x-large
xx-large
The following
tag uses the
cfinput
input box:
<cfinput type="text" name="text1" style="fontSize:X-large" label="Name">
Time format
You specify styles that take time values, such as the
opens, in milliseconds. The following example shows an
accordion pleats:
<cfformgroup type="accordion" height="260" style="openDuration: 500">
Color format
You define color values, such as those for the
Format
Description
hexadecimal
Hexadecimal colors are represented by a six-digit code preceded by two number sign characters (##). Two # characters
are required to prevent ColdFusion from interpreting the character. The range of possible values is
##FFFFFF
VGA color names
VGA color names are a set of 16 basic colors supported by all browsers that support CSS. The available color names are
Aqua
,
Black
Yellow
. Some browsers support a larger list of color names. VGA color names are not case-sensitive.
Some styles support only the hexadecimal color format.
Some controls accept multiple colors. For example, the tree control's
background color for each level in the tree. To assign multiple colors, use a comma-delimited list, as the following
example shows:
style="depthColors: ##EAEAEA, ##FF22CC, ##FFFFFF"
About Flash form style applicability and inheritance
Because of the way Flash control styles are implemented, some common styles are valid, but have no effect, in some
tags. Therefore, in the table in Styles valid for all controls in ColdFusion Flash Form Style Reference in the CFML
Reference, the listed styles do not cause errors when used in controls, but might not have any effect.
style property. The exact sizes are defined by the client browser.
attribute with a
style
openDuration
accordion
backgroundColor
.
,
Blue
,
Fuchsia
,
Gray
,
Green
,
Last updated 8/5/2010
keyword to specify the size of the text in the
fontSize
style that specifies how fast an accordion pleat
tag that takes one-half second to change between
style, in the following formats:
Lime
,
Maroon
,
Navy
,
Olive
,
Purple
style property can use a different
depthColors
to
##000000
,
Red
,
Silver
,
Teal
,
White
, and
778

Advertisement

Table of Contents
loading

Table of Contents