在HTML的body之间哪个地方都行a{color:red;text-decoration:none}

解决方案 »

  1.   


    <style type="text/css">
    A:link {background: #696b69; text-decoration: none}
    A:visited {background: #696b69; text-decoration: none}
    A:active {background: #696b69; text-decoration: none}
    A:hover {background: #696b69; font-weight:bold; color: red;}
    </style>
      

  2.   

    <style       type="text/css">       
        #DataGrid1       A       {color:red}       
        #DataGrid1       A:hover       {color:green}       
        #DataGrid2       A       {color:green}       
        #DataGrid2       A:hover       {color:red}       
        </style>  放到<head></head>你做的标签是A就可以了
      

  3.   

    关键是我的datagrid控件在自定义的WEB用户控件中,该控件就一个表格,在表格中放置DataGrid控件,然后将该自定义的控件托放到主页中
      

  4.   

    楼上的,做的标签是A是什么意思,谢谢
    另外我的DataGrid控件在用户自定义的WEB控件中