A
Alex
I have an asp linkbutton declared as follows:
<asp:LinkButton ID="LinkButton1" runat="server" CssClass="tt">ASP Link
Button</asp:LinkButton>
My CSS classes are declared as follows:
a.tt
{
color:Black;
text-decoration: none;
border-bottom: 1px dashed Blue;
}
a.tt:visited {
color: Black;
}
a.tt:hover
{
background:#F0F8FF;
color:Black;
cursor:help;
}
But when I run the page, none of the a.tt styles are being displayed. The
strange thing is, when I add a regular html <a> control on the page, it works
fine.
<asp:LinkButton ID="LinkButton1" runat="server" CssClass="tt">ASP Link
Button</asp:LinkButton>
My CSS classes are declared as follows:
a.tt
{
color:Black;
text-decoration: none;
border-bottom: 1px dashed Blue;
}
a.tt:visited {
color: Black;
}
a.tt:hover
{
background:#F0F8FF;
color:Black;
cursor:help;
}
But when I run the page, none of the a.tt styles are being displayed. The
strange thing is, when I add a regular html <a> control on the page, it works
fine.