如何让treeview的每个节点看起来没有下划线?

解决方案 »

  1.   


    <asp:TreeView ID="myRight" runat="server" Style="margin-bottom: 55px" Width="118px"
                                ImageSet="Simple" ShowLines="True" ShowCheckBoxes="All" OnTreeNodeCheckChanged="myRight_TreeNodeCheckChanged">
                                <ParentNodeStyle Font-Bold="False" />
                                <NodeStyle Font-Names="Tahoma" Font-Size="10pt" HorizontalPadding="0px" NodeSpacing="0px"
                                    VerticalPadding="0px" />
                            </asp:TreeView>
      

  2.   

    如何让treeview的每个节点上的字看起来没有下划线?
      

  3.   

    1.控件本身有无控制显示下划线?如果有,该怎么办怎么办。
    2.如果控件本身没有控制显示下划线,所有控件的呈现全是html,看看代码的格式,用CSS解决这个下划线
      

  4.   

    可以用CSS中的text-decoration:none解决
      

  5.   

    <head>和 <head>之间加上如下的CSS语法控制:
    <style type="text/css">   
     <!--   
     a:link { text-decoration: none;color: blue} 
    a:active { text-decoration:blink}    
    a:hover { text-decoration:underline;color: red}
    a:visited { text-decoration: none;color: green}   
     -->   
     </style>  
     其中:   a:link 指正常的未被访问过的链接;   a:active 指正在点的链接;   a:hover 指鼠标在链接上;   a:visited 指已经访问过的链接;   text-decoration是文字修饰效果的意思;   none参数表示超链接文字不显示下划线
      

  6.   

    本来就没有,你CSS里面设置了a标签的样式