我要在鼠标移上去倒linkbutton的上面时。由原来的色变成红色
还有一种是要求移上去下面的线显示出来,移开的时候线消失

解决方案 »

  1.   

    .hover { COLOR: red; CURSOR: hand;display:underline }
    .linkbutton{display:none}
      

  2.   

    纯写个.hover { COLOR: red; CURSOR: hand;display:underline } 这中样式在girdview中会没有效果 如果单独放,不放在gridview中是有效果的
      

  3.   

     lkbtn.Attributes.Add("onmouseover", "this.style.color='red'");
                    e.Row.Attributes.Add("onmouseout", "this.style.color='#77a3bc'");
    呵呵 弄好了
      

  4.   


    a:link{color:#000;}
    a:visited{color:#000}
    a:hover{color:red;}
    a:active{color:#000;}
    记得先后顺序也不要改变