This is slightly OT, but you do not want to use the BUTTON tag.  IE (at
least IE 6) does not handle multiple BUTTONs in a FORM correctly.  It will
cause you massive pain.  Use CSS on the INPUT, instead (and I see someone
else already pointed you to some articles for that).
mrg

PS. Safari and Firefox do handle multiple BUTTONs correctly, but if IE is
even a remote target browser, better to avoid BUTTON altogether.


On Sat, Feb 7, 2009 at 4:30 PM, kace <me_myself_and_...@hotmail.com> wrote:

>
> Hi fellas,
>
> this isnt a T5 question but hoping someone can help out.
>
> I am looking to style buttons
>
> <input type = "submit" value = "save"/>  - how would i got about styling
> that one?
>
> if i change the above code to:
>
> <button class="button positive" type = "submit">save</button>  and have the
> following css it works fine
>
> a.button, button  {} button {} etc
>
> if i want to style my buttons do I have to convert all my
>
> <input type = "submit" value = "save"/> to <button class="button positive"
> type = "submit">save</button> ?
>
> It doesnt work for the following code tho
>
> <input t:type = "submit" t:id = "addMe"  value = "add me" />  How would i
> apply css to this button?
>
> Any help would be appreciated guys.
>
> Regards,
>
> ..kace
> --
> View this message in context:
> http://www.nabble.com/How-to-style-a-button-tp21893032p21893032.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

Reply via email to