如何让<asp:Buton 没有3D效果??????????

解决方案 »

  1.   

    使用样式,参考
    <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Button" style="border-top-style: none; border-right-style: none; border-left-style: none; border-bottom-style: none" />在"设计"中按钮控件上右键"样式"中很容易就实现了
      

  2.   

    方法一:按钮的属性中把borderstyle的属性设置成NoSet。方法二:把按钮的html代码改成如下方式:
    <input id="Button2" style="border-top-style: none; border-right-style: none; border-left-style: none;border-bottom-style: none" type="button" value="button" />