What doctype are you using? I've never heard of a valign attribute for label.
You can set the class in the label() method: $form->label('Model.field', array('class' => 'LabelClass')) On Fri, Feb 22, 2008 at 10:06 AM, Richard Ward <[EMAIL PROTECTED]> wrote: > Hi all, > > How do you set the label options (valign) on a form->input tag generated > through baking? > > I know how to change the label text: > $form->input('Model.field', array('label' => 'labelText')); > > Is there some option setting or must I recode it to: > > $form->label('Model.field', 'labelText', array('valign' => 'top')); > $form->input('Model.field'); > > Thanks, > Richard > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---