Lance is correct, this is a CSS issue and not specific to CakePHP. If you look at the HTML being spit out by a $form->input is: <div><label><input>
If you're doing type=radio, then it's just multiple label/input inside those DIVs. To make everything "horizontal", just make sure all the elements are display:inline. Now, the only problem is if you have too many options to fit on a line. Then you might get a line break where you don't want it. Unfortunately, I don't know of a solution for this other than to create your own form helper that overloads the original form helper. I've had to do this on a recent project and has worked well. On Tue, Aug 19, 2008 at 4:18 PM, peterm95018 <[EMAIL PROTECTED]> wrote: > > Lance, > > Perhaps you misunderstand the question. Let me restate. > > Is it possible to use $form->input with $options to present form > elements horizontally? Such that: > label:input label:input label:input <-- displayed in a "row" to be > space efficient > > If yes, can someone post an example? If no, can someone confirm that > this isn't possible "out of the box"? > > peterm > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---