Adobe 38043740 - ColdFusion Standard - Mac Development Manual page 773

Developing applications
Hide thumbs Also See for 38043740 - ColdFusion Standard - Mac:
Table of Contents

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Requesting and Presenting Information
Adding text, images, rules, and space with the cfformitem tag
Because Flash forms do not support inline HTML, you use the
vertical rules to your form. (Flash form controls, such as
labels.) You can also use the
The
cfformitem type="hrule"
You can specify the rule thickness, color, and shadow characteristics by using style specifications. For more
information on specifying rule styles, see Styles for cfformitem with hrule or vrule type attributes in ColdFusion Flash
Form Style Reference in the CFML Reference.
The
cfformitem type="spacer"
does not use styles; it can be useful in improving the form appearance by helping you control the form layout.
The
cfformitem type="text"
consistent format to the text.
The
cfformitem type="html"
HTML-style formatting tags in the body of this tag to add images and to format and style the text.
You can use the following formatting tags and attributes in the body of a
Tag
Valid attributes
a
href
target
None.
b
br
None.
font
color
faceC
system.
size
i
None.
img
See the attribute table for the
Note: Close this tag with /> or an </img> tag.
None.
li
p
align
See the attribute table for the
textformat
u
None.
The
tag supports the following attributes:
img
Attribute
Description
(Required) URL or path to a JPEG or SWF file. Images are not displayed until they have downloaded completely.
src
Flash Player does not support progressive JPEG files.
width
Width of the image, in pixels.
Height of the image in pixels.
height
tag to add spacers between visual form elements.
cfformitem
and
cfformitem type="vrule"
tag puts a blank space of the specified height and width on the form. This tag type
tag lets you insert plain text in the form You can use the
tag lets you insert formatted text and images in the form. You can include basic
URL to link to.
window name; can be a standard HTML window name such as _blank.
Must be in hexadecimal format, such as #FF00AA. Use a single number sign (#) character.
an be a comma-delimited list of font face names; Flash uses the first font that is available on the client
In pixels; + and -relative values are allowed.
img
tag.
Must be one of the following:
left
textformat
Last updated 1/20/2012
tag to add text blocks and horizontal and
cfformitem
, use the
or
cfinput
label
value
tags put horizontal and vertical rules in the form.
cfformitem type="html"
,
right
,
center
.
tag.
attribute to specify text
attribute to apply a
style
tag:
768

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 9

Table of Contents