all groups > coldfusion flash integration > september 2005 >
You're in the

coldfusion flash integration

group:

CFForm Background Color?



CFForm Background Color? w0lvie
9/8/2005 8:01:55 PM
coldfusion flash integration: Just starting out with flash forms.... problem is that my background is not
white, which is what the default is for the generated flash form... is there a
way to change the background color of a cfform with type=flash?

Thanks!
Re: CFForm Background Color? ptoretti
9/9/2005 12:03:51 AM
<cfform style="backgroundColor:##FFEEFF">

See the
http://livedocs.macromedia.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/
wwhelp.htm?context=ColdFusion_Documentation&file=part_cfm.htm in Livedocs.

On a similar note, I've been trying to use a background image for an area of a
form. No success. Anyone have any tips?
Re: CFForm Background Color? jumajii
9/9/2005 7:53:34 AM
Re: CFForm Background Color? ptoretti
9/12/2005 10:16:29 PM
Marco -

Thanks for the link. That's close wo what I want to do, but I want it to apply
to a panel, not the whole application. From both that example and my
experimentation. it seems that's not possible.
Re: CFForm Background Color? jumajii
9/14/2005 11:40:07 AM
Why no?
Check this:
<cfform name="name" action="" format="flash" skin="haloBlue" style="background-color: ##006699;">

Re: CFForm Background Color? ptoretti
9/14/2005 10:24:42 PM
Right, the background-color style works great. No problem there. But the
background-image style doesn't.

<cfformgroup type="panel" label="Preview" style="backgroundColor:##ddddff;
backgroundImage:url(grapes.jpg);">

Or am I specifying it incorrectly?
Re: CFForm Background Color? ptoretti
9/14/2005 10:53:34 PM
Re: CFForm Background Color? w0lvie
9/22/2005 8:21:04 PM
I can change the background color of the form ok now.. .but, the problem is
that it displays a HUGE area of white, with my form in the upper left hand
corner... How do I change the color of this white block? How do I center the
form, horizontally? Does anyone know of any tutorials that I can get a little
more info...

Thanks!
Re: CFForm Background Color? Chikowski
9/23/2005 1:07:09 PM
As for the white space: by specifing a background-color for the head form tag.

And for the horizontal align: I have looked into this quite a bit, but could
not find anything but to use margin-left and eyeball it

Good luck!
AddThis Social Bookmark Button