For the complete experience, please enable JavaScript in your browser. Thank you!

  • Creative Cloud
  • Photoshop
  • Illustrator
  • InDesign
  • Premiere Pro
  • After Effects
  • Lightroom
  • See all
  • See plans for: businesses photographers students
  • Document Cloud
  • Acrobat DC
  • eSign
  • Stock
  • Elements
  • Marketing Cloud
  • Analytics
  • Audience Manager
  • Campaign
  • Experience Manager
  • Media Optimizer
  • Target
  • See all
  • Acrobat Reader DC
  • Adobe Flash Player
  • Adobe AIR
  • Adobe Shockwave Player
  • All products
  • Creative Cloud
  • Individuals
  • Photographers
  • Students and Teachers
  • Business
  • Schools and Universities
  • Marketing Cloud
  • Document Cloud
  • Stock
  • Elements
  • All products
  • Get Support
    Find answers quickly. Contact us if you need to.
    Start now >
  • Learn the apps
    Get started or learn new ways to work.
    Learn now >
  • Ask the community
    Post questions and get answers from experts.
    Start now >
    • About Us
    • Careers At Adobe
    • Investor Relations
    • Privacy  |  Security
    • Corporate Responsibility
    • Customer Showcase
    • Events
    • Contact Us
News
    • 3/22/2016
      Adobe Summit 2016: Are You An Experience Business?
    • 3/22/2016
      Adobe Announces Cross-Device Co-op to Enable People-Based Marketing
    • 3/22/2016
      Adobe and comScore Advance Digital TV and Ad Measurement
    • 3/22/2016
      Adobe Marketing Cloud Redefines TV Experience
CFML Reference / 

Styles valid for all controls

Adobe Community Help


Applies to

  • ColdFusion

Contact support

 
By clicking Submit, you accept the Adobe Terms of Use.
 

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
    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, radio, and checkbox, because they are filled with the button face or other graphics.

backgroundDisabledColor

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. 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.

dropShadow

N

Format: Boolean; controls the visibility of the component's drop shadow. The default value is false. This style must be used with borderStyle="solid". For drop shadows to appear on containers, set backgroundColor or backgroundImage. Otherwise, since the default background of a container is transparent, the shadow appears behind the container.

errorColor

Y

Format: color; color of the error text.

fillColors

N

Format: color; colors used to tint the background of the control. Pass the same color for both values for "flat" looking control. The default value is ##E6EEEE,##FFFFFF.

fontFamily

Y

Comma-separated list of fonts to use, in descending order of desirability. You can use any font family name. If you specify a generic font name, it is converted to an appropriate device font. Flash can only use fonts that are installed on the client system.

fontSize

Y

Format: length; size of the text.

fontStyle

Y

Determines whether the text is italic. Recognized values are normal and italic. The default value is normal.

fontWeight

Y

Determines whether the text is bold. Recognized values are normal and bold. The default value is normal.

highlightColor

Y

Format: color; color of the control when it is in focus.

horizontalGap

N

Format: length; number of pixels between children in the horizontal direction.

leading

N

Additional vertical space between lines of text. The default value is no leading.

marginLeft

N

Format: length; number of pixels between the container's left border and its content area.

marginRight

N

Format: length; number of pixels between the container's right border and its content area.

scrollTrackColor

Y

Format: color; scroll track for a scroll bar. The default value is ##EFEEEF (light gray).

selectedFillColors

N

Format: colors; two colors used to tint the background of the control when in its selected state. Pass the same color for both values for "flat" looking control. The default value is undefined, which means the colors are derived from themeColor.

textAlign

Y

Aligns text in a container. Recognized values are left, right, and center. The default value is right.

textDecoration

N

Determines whether the text is underlined or not. Recognized values are none and underline. The default value is none.

textIndent

Y

Format: length; offset of first line of text from the left side of the container. The default value is 0.

themeColor

Y

Format: color; background color of a component. The possible values are:

  • haloGreen
  • haloBlue
  • haloOrange
  • haloSilver

verticalGap

N

Format: length; number of pixels between children in the vertical direction.

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy

Choose your region United States (Change)   Products   Downloads   Learn & Support   Company
Choose your region Close

Americas

Europe, Middle East and Africa

Asia Pacific

  • Brasil
  • Canada - English
  • Canada - Français
  • Latinoamérica
  • México
  • United States
  • Africa - English
  • Österreich - Deutsch
  • Belgium - English
  • Belgique - Français
  • België - Nederlands
  • България
  • Hrvatska
  • Cyprus - English
  • Česká republika
  • Danmark
  • Eesti
  • Suomi
  • France
  • Deutschland
  • Greece - English
  • Magyarország
  • Ireland
  • Israel - English
  • ישראל - עברית
  • Italia
  • Latvija
  • Lietuva
  • Luxembourg - Deutsch
  • Luxembourg - English
  • Luxembourg - Français
  • Malta - English
  • الشرق الأوسط وشمال أفريقيا - اللغة العربية
  • Middle East and North Africa - English
  • Moyen-Orient et Afrique du Nord - Français
  • Nederland
  • Norge
  • Polska
  • Portugal
  • România
  • Россия
  • Srbija
  • Slovensko
  • Slovenija
  • España
  • Sverige
  • Schweiz - Deutsch
  • Suisse - Français
  • Svizzera - Italiano
  • Türkiye
  • Україна
  • United Kingdom
  • Australia
  • 中国
  • 中國香港特別行政區
  • Hong Kong S.A.R. of China
  • India - English
  • 日本
  • 한국
  • New Zealand
  • Southeast Asia (Includes Indonesia, Malaysia, Philippines, Singapore, Thailand, and Vietnam) - English
  • 台灣

Commonwealth of Independent States

  • Includes Armenia, Azerbaijan, Belarus, Georgia, Moldova, Kazakhstan, Kyrgyzstan, Tajikistan, Turkmenistan, Ukraine, Uzbekistan

Copyright © 2016 Adobe Systems Incorporated. All rights reserved.

Terms of Use | Privacy | Cookies

AdChoices