我有html代码
asp:Button ID="btnStartExportRPT" EnableTheming="true" CssClass="ButtonFilterSelectionL"
Text="<%$ Resources:GlobalResources, cmdStartExecute %>" runat="server"/>
我有css
.ButtonFilterSelectionL
{
font-family: Segoe UI, Verdana;
font-size: 13px;
font-weight:lighter;
color: #999999;
vertical-align:middle;
}
.ButtonFilterSelectionL:active
{
font-family: Segoe UI, Verdana;
font-size: 13px;
font-weight:lighter;
color: #005C8B;
vertical-align:middle;
}
在我的C#代码中,我已经在一些函数之后定义了
btnStartExportRPT.Enabled = true;
我想知道如何使用.ButtonFilterSelectionL:active
css?
答案 0 :(得分:0)
解决
我应该使用.ButtonFilterSelectionL:enabled
代替。ButtonFilterSelectionL:active