BTW, CSS pseudo-class ":hover" doesn't work in IE6 for all tags (it works just for "A"). Have you checked it Firefox? Firfox allows ":hover" on arbitrary tag.

Regards,
Svi


Okan Çetin wrote:
I tried many of posibilities
::hover, :hover, ::button-hover, ::icon-hover etc...

On 02/08/07, Cristi Toth <[EMAIL PROTECTED]> wrote:
try ':hover'
only one ':', not 2 of them
because hover is a CSS pseudo-class
it's not a sub-selector

On 8/2/07, Okan Çetin < [EMAIL PROTECTED]> wrote:
Hi all;

I arranged new skin for some command buttons like that :

.SaveButton{
    background-image: url(../images/saveButton1.png);
    border: 0;
    width: 128px;
    height: 28px;
}

And i tried to give hover ability to command button:

.SaveButton::hover{
    background-image: url(../images/saveButton2.png);
    border: 0;
    width: 128px;
    height: 28px;
}

in jsp:
<tr:commandButton styleClass="SaveButton"/>

As you see, i want to change button image when the mouse come over the
button. Anyhelp would be great,

Thanks,
Okan


--
~
otomatik oluşturuldu:
http://ocetin.net/log
http://linux.beykent.edu.tr



--
Cristi Toth
-------------
Codebeat
www.codebeat.ro





Reply via email to