在数据列表中点击标题弹出详细页面<a href='XXXXX.aspx?FileId1'>标题XXX</a>因为这个东西在列表每条数据都会有一个超链接的下划线,我不想要这种效果的,就什么也没有,点击标题鼠标变成小手的形式,点击弹出另一个页面

解决方案 »

  1.   

    那你就去掉href,但是要有地方可以得到点击后的去向
      

  2.   

    用css样式啊把这个加到head里
    <style type="text/css">
    <!--
    a:link {
    text-decoration: none;
    }
    a:visited {
    text-decoration: none;
    }
    a:hover {
    text-decoration: none;
    }
    a:active {
    text-decoration: none;
    }
    -->
    </style>
      

  3.   

    <a href="地址" style="text-decoration:none">文字</a>
    这样也是可以的
      

  4.   

    a:hover {text-decoration: none;}
      

  5.   

    css样式控制链接显示方式a:hover { text-decoration: none; }