Yeah I went with button as the input. All is good. Thanks Dave _____
From: Eber Freitas Dias [mailto:[email protected]] Sent: September-25-09 11:29 PM To: [email protected] Subject: Re: Style a Submit 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 <[email protected]> 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 <[email protected]> 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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---
