asp.net(c#)Button问题

来源:百度知道 编辑:UC知道 时间:2024/06/25 20:16:37
我想使用SkinFile.skin 给所有页面的button加上以下
<asp:Button runat="server" BackColor="MintCream" BorderColor="MintCream" style="cursor:hand"/>
请问怎么做呢?

<asp:Button runat="server" BackColor="MintCream" BorderColor="MintCream" style="cursor:pointer;" />

就这么写。如果你要加一个SkinID的话。

<asp:Button runat="server" SkinID="DefaultButtonSkin" BackColor="MintCream" BorderColor="MintCream" style="cursor:pointer;" />

在CSS里写样式

样式表里可以写的