[Seaside] Change normal button for any colour

Philippe Marschall philippe.marschall at gmail.com
Wed May 30 08:21:05 UTC 2007


2007/5/29, Rubén Parra Savall <kenterish at hotmail.com>:
>
>
> Hi!
>
> I was digging out how to change the appearance of a normal button to another
> colour or just put in that place a surface coloured.
> Best thing I found out was the method submitButtonWithAction: image: , but I
> wondered if someone maybe knows a best way.

CSS

You can make all your buttons red with:

style
    ^
'.submit {
	background-color: red;
}'

Cheers
Philippe

> Otherwise, if the method that I mentioned above is the more correct, how
> does it work? Because I know you have to put value to the attributes 'width'
> and 'height' but how? How do you put the link to the image, both local host
> and web?
>
> Thanks very much,
>
> Cheers,
> Rubén
>
> _________________________________________________________________
> Acepta el reto MSN Premium: Correos más divertidos con fotos y textos
> increíbles en MSN Premium. Descárgalo y pruébalo 2 meses gratis.
> http://join.msn.com?XAPID=1697&DI=1055&HL=Footer_mailsenviados_correosmasdivertidos
>
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>


More information about the seaside mailing list