I've tried that too, and it doesn't work. If you check the source code
for FormHelper, the end() method only takes one parameter, whereas the
submit() method takes 2 like you'd expect.
https://trac.cakephp.org/browser/trunk/cake/1.2.x.x/cake/libs/view/helpers/form.php
So I'm just going to switch over to $form->submit().
Wayne
On 11/15/07, francky06l <[EMAIL PROTECTED]> wrote:
>
> Modify you css, or pass the style with : $form->end('Submit',
> array('style' => 'width: 10px;'));
>
> 10px seems short anyway.. :-)
>
> On Nov 15, 8:35 pm, "Wayne Fay" <[EMAIL PROTECTED]> wrote:
> > Apparently my CSS is doing something funky, because the login button
> > on my app is a couple hundred pixels wide.
> >
> > I will try to track down the CSS that is causing this, but in the mean
> > time, can someone please tell me how to apply the "size" attribute to
> > the $form->end() call? I already tried:
> > end('Submit', array('size'=>'10'));?>
> > end('Submit', array('width'=>'10'));?>
> >
> > I'm guessing I might need to use 'options' or 'style' or something...
> >
> > Wayne
> >
>
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---