Change normal button for any colour

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Change normal button for any colour

Rubén Parra Savall
First, say sorry to people, like Boris :-p, that is the second time that
receive this question, I asked this in the list of Seaside, I transcript.

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.



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?




I got this.

CSS

You can make all your buttons red with:

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



Since the moment that I use VW, I think that maybe anybody can help me also.
The problem is that when I submit a button, I want to change that button or
just another, not all the buttons. Depending of the button (or his value),
it has to change to one colour or another.

In the other hand, somebody could explain me the use of
submitButtonWithAction: image: or put an example?? I tried all but without
success.

Thanks,
Rubén

_________________________________________________________________
Descarga gratis la Barra de Herramientas de MSN
http://www.msn.es/usuario/busqueda/barra?XAPID=2031&DI=1055&SU=http%3A//www.hotmail.com&HL=LINKTAG1OPENINGTEXT_MSNBH