The only thought I have is from experience in HTML/CSS so I'm pulling the following out of my ass by just thinking of iin terms of html container elements. You have a vbox with-in a horizontal group. If the vbox expands to fill the width of the horizontal then centering the content in the horizontal will have no effect on the alignment of the vbox. You either need to center the content with-in the vbox or set the width of vbox to be something other than 100%.
On 2/6/07, Corey LeGaux <[EMAIL PROTECTED]> wrote:
Ok I am sorry to have to post this here, but I am hoping with all of the flex development going on someone here might be able to help. I have this flash form that will not center the login boxes. Any idea what I am doing wrong? Please Help <cfform action="/none.html" method="post" name="login" format="flash" skin="haloSilver" id="form2" timeout="60" width="980" height="600"> <!--- Start: Title Box ---> <cfformgroup type="hbox"> <cfformgroup type="panel" height="100" style="horizontalGap: 0; headerHeight: 0; cornerRadius: 0; marginLeft: 0;" width="175"> <cfformitem type="html" height="80" width="150"><p><img src="/images/test.jpg" width="145" height="100" border="0" /></p></cfformitem> </cfformgroup> <cfformgroup type="panel" height="100" style="horizontalGap: 0; headerHeight: 0; cornerRadius: 0; marginLeft: 0;"> <cfformitem type="html" height="80"><br/><p align="center">Title</p></cfformitem> </cfformgroup> </cfformgroup><!--- End: Title Box ---> <!--- Start: Center Program Box ---> <cfformgroup type="panel" id="right" style="headerHeight: 0; cornerRadius: 0;" height="455" width="980"> <cfformgroup type="horizontal" style="horizontalAlign: center;"> <cfformgroup type="vbox"> <cfformitem type="html">Login<br /> </cfformitem> <cfinput name="username" type="text" label="User ID" size="20" /> <cfinput name="password" type="password" label="Password" size="20" /> <cfinput name="loginbutton" type="button" label="Login" value="Login" onClick="#submitLogin#" /> </cfformgroup> </cfformgroup> </cfformgroup><!--- End: Center Program Box ---> </cfform> Thanks Corey LeGaux Computer Programmer [EMAIL PROTECTED] You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfm CFCDev is supported by: Katapult Media, Inc. We are cool code geeks looking for fun projects to rock! www.katapultmedia.com An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfm CFCDev is supported by: Katapult Media, Inc. We are cool code geeks looking for fun projects to rock! www.katapultmedia.com An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org
You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfm CFCDev is supported by: Katapult Media, Inc. We are cool code geeks looking for fun projects to rock! www.katapultmedia.com An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org