Options. 1. Each input is invariably encased in a DIV. Set a width to half that of the container, and then float:left. 2. Put half the inputs in one DIV and the other half in another DIV. Float the DIVs. 3. Create a table with two columns, put half the inputs in one cell and half the inputs in another cell. Don't float.
I'd go with #1 or #2 depending on what your needs are and how critical it is that the form be filled in a specific order. (ie: left to right, top to bottom vs top to bottom, left to right) -Jonathan On Mon, Aug 18, 2008 at 8:20 AM, Malcolm Krugger <[EMAIL PROTECTED]> wrote: > > Whenever I user $form->input in templates invariably it outputs one > below the other > > How do I make a 2 column form using $form->input tags ? > > Malcolm --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---
