Ow, by the way, you need to use type="submit":

<button type="submit">Whatever you want here</button>

[]'s

On Fri, Sep 25, 2009 at 10:58 PM, Eber Freitas Dias
<eber.frei...@gmail.com>wrote:

> You also should consider using the <button> tag instead of the default
> input button.
>
> Take a look: http://www.w3schools.com/tags/tag_button.asp
>
> The button tag is much more flexible as it is totally customizable, and you
> can put orther elements inside of it, like images:
>
> <button><img src="image.jpg" alt="Ha!" /></button>
>
> Then, you just close the form with $form->end(); Maybe this will help!
>
>
> On Fri, Sep 25, 2009 at 9:54 PM, brian <bally.z...@gmail.com> wrote:
>
>>
>> The form should have an ID. Just create a CSS rule for #form_id
>> input[type='submit'].
>>
>> Also, Cake's default is to put the submit button in a div with
>> class="submit" so you can use that, also, for your CSS selector.
>>
>> On Fri, Sep 25, 2009 at 6:10 PM, Dave Maharaj :: WidePixels.com
>> <d...@widepixels.com> wrote:
>> > How can you style a submit with a CSS style in directly in the echo
>> > $form->end('Save');
>> >
>> > I want to use a CSS sprite which has the various states but when nothing
>> i
>> > try works.
>> >
>> > Has anyone done this? Ideas?
>> >
>> > Dave
>> > >
>> >
>>
>> >>
>>
>
>
> --
> Éber Freitas Dias
>
> www.eberfdias.com
> www.dejamps.net
>



-- 
Éber Freitas Dias

www.eberfdias.com
www.dejamps.net

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

Reply via email to