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
> >
>

--~--~---------~--~----~------------~-------~--~----~
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