鼠标悬停在链接按钮上的颜色更改 [英] color change on link button while mouse over it

查看:73
本文介绍了鼠标悬停在链接按钮上的颜色更改的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的朋友们,



我有一个名为英语的链接按钮,我需要将它的颜色改为黄色鼠标在它上面,,,建议我



谢谢。

Dear Frnds,

I have a link button called English, I need to change the color of it to yellow on Mouse Over it,,,Please suggest me

Thanks.

推荐答案

阅读本文: http://www.computerhope.com/issues/ch000075.htm [ ^ ]


请参阅:



< a href =http://www.codeproject.com/Answers/233317/How-to-change-the-color-of-the-link-butoon-on-mous#answer2>如何更改颜色将鼠标悬停在鼠标上方? [ ^ ]


你可以用css来实现那个



将cssclass属性添加到这样的链接按钮



将其添加到页面的标题中



you can use css to achieve that

add cssclass attribute to link button like this

add this in head tags of a page

<style type="text/css">
        .change:hover
        {
            color: Yellow;
        }
    </style>







和你的链接按钮看起来喜欢这个






and your link button looks like this

<asp:linkbutton id="lbtnlink" runat="server" cssclass="change" text="move over here" xmlns:asp="#unknown" />


这篇关于鼠标悬停在链接按钮上的颜色更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆