我的样式表中有一些链接样式:
a.whiteLinks {
color: #FFFFFF;
text-decoration: none;
}
a.blueLinks {
color: #0076AC;
text-decoration: none;
}
a.whiteLinks:hover {
color: #5397AD;
text-decoration: none;
}
a.blueLinks:hover {
color: #5397AD;
text-decoration: none;
}
我有以下asp:BulletedList
<asp:BulletedList DisplayMode="HyperLink" runat="server" ID="blFirst" ClientIDMode="Static">
<asp:ListItem Value="allergy.aspx">Allergy and Immunology</asp:ListItem>
<asp:ListItem Value="">Anesthesiology</asp:ListItem>
<asp:ListItem Value="">Breast Surgery</asp:ListItem>
</asp:BulletedList>
我在哪里可以编辑以便项目符号列表中的链接使用blueLink
样式而不是默认样式?
我尝试添加CssClass="blueLinks"
,BulletedList
但没有任何影响。