Use the cfformitem type="spacer" tag. Like this: <cfformgroup type="horizontal"> <cfformitem type="spacer"/> <cfinput type="button" name="foo" value="click"> <cfformitem type="spacer"/> </cfformgroup>
---nimer > -----Original Message----- > From: Tony [mailto:[EMAIL PROTECTED] > Sent: Sunday, September 11, 2005 12:16 AM > To: CF-Talk > Subject: cfformgroup question > > hi there. > > i have some buttons in a cfform panel, and i want them to be centered. > i have this code below... and they are left justified. > ive tried sooo many variations of centering, and i just cannot get it... > > help :) > > <cfform name="administratorMenu" > action="nclisAwards.cfm" > method="post" format="flash"> > <cfformgroup type="PANEL" > label="Administrator Menu" > height="180" width="150" > style="#menuPanel#margin:0px;textAlign:center;"> > <cfformgroup TYPE="vertical"> > > <div align="center"> > <cfinput type="submit" > value="Manage Users" name="ManageUsers" > style="#menuButtons#"> > <cfformitem > height="10" type="spacer" visible="No" /> > <cfinput type="submit" > value="Manage Entries" > name="ManageEntries" style="#menuButtons#"> > <cfformitem > height="10" type="spacer" visible="No" /> > > <cfinput type="submit" > value="Manage Reviews" > name="ManageReviews" style="#menuButtons#"> > </div> > </cfformgroup> > </cfformgroup> > </cfform> > > -- > ....tony > > Tony Weeg > tonyweeg [at] gmail [dot] com > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217927 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54