View comments | RSS feed

Styles for cfform

The following styles apply to the cfform tag:

Style Inh Description

background-color

 

Format: color; background color of the form.

indicatorGap

Y

Format: length; number of pixels between the label and child components. The default value is 14.

labelWidth

Y

Format: length; width of the form labels. The default value is the length of the longest label in the form.

marginBottom

N

Format: length; number of pixels between the container's bottom border and its content area. The default value is 16.

marginTop

N

Format: length; number of pixels between the container's top border and its content area. The default value is 16.

verticalGap

N

Format: length; number of pixels between children in the vertical direction. The default value is 8.


ColdFusion 9 | ColdFusion 8 | ColdFusion MX 7 | ColdFusion MX 6.1 | ColdFusion MX | Forums | Developer Center | KnowledgeBase | Bug Reporting

Version 7

Comments


raulriera said on Mar 24, 2005 at 7:43 AM :
background-color:##ANY_COLOR_HERE

wont work with flash forms... :S why is it listed here?
jrunrandy said on Apr 6, 2005 at 6:53 AM :
You have to end with a semi-colon when using the cfform background-color style attribute.

We probably should have mentioned it on this page and I have entered doc bug 60038. For more information, see HalL's February 17 comment on the CFFORM page: http://livedocs.macromedia.com/coldfusion/7/htmldocs/00000256.htm
No screen name said on Jul 15, 2005 at 1:23 PM :
<cfform format="flash" style="backgroundAlpha: 0;" wmode="transparent">
Zacb said on Jan 31, 2006 at 12:30 PM :
The transparent mode tip should be in the docs. Its an excellent solution to the problem of having Flash Forms in sites that use external CSS.
asus said on Oct 9, 2006 at 7:11 AM :
It's especialy good to know that wmode="transparent" won't produce anything unless you specify style="backgroundAlpha:0"

 

RSS feed | Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/coldfusion/7/htmldocs/00000679.htm