开发者

CSS hover property alternative for IE

开发者 https://www.devze.com 2023-04-02 12:23 出处:网络
CSS Hover property doesn\'t seem to work in IE but works fine in Firefox. So what can be the workaround for the following code for IE?

CSS Hover property doesn't seem to work in IE but works fine in Firefox. So what can be the workaround for the following code for IE?

a#aUpdateZip:hover , a开发者_高级运维#aCancelZip:hover { 
    text-decoration:underline; 
    font-family:Arial,Helvetica,sans-serif; 
}


You could always use JQuery? Add some nice hover effects? For example...

    $("#aUpdate").hover(function () 
    {
        $(this).stop().animate({"color": "#000000"}, "medium")
    }, 
    function () 
    {
        $(this).stop().animate({"color": "#ffffff"}, "fast")
    });
0

精彩评论

暂无评论...
验证码 换一张
取 消