Monday, November 30, 2009

Re: Form submit with image problem

What the.... I thought I tried that. Yep that works although it forces
my images to be too small. I'll try out the CSS way instead. Thank
you!

On Nov 30, 3:51 pm, Brett Wilton <bdwil...@gmail.com> wrote:
> I use css as jburns suggested but had a quick glance at the code. If
> you just want an image you need to put that in the first parameter
> e.g. $form->submit('your-image.jpg');
>
> If you need more control use css with 'class' or 'div', e.g.
>
> $form->submit('Edit', array('class' => 'your_css_class');
>
> ----http://wiltonsoftware.com

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

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
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: