Sunday 8 April 2012

How can we change the forcolor of link button when mouse over button in asp.net


//css file.

body
{
background-color:Black;
}
.simple
{
color: #000080;
}
.simple:hover
{

color: #FF6600;
}





//.aspx source code

.
.
.
<link href="HomePage.css" rel="Stylesheet" type="text/css" />
.
.
.
<td align="center" valign="top" style="width: 264px;">
<asp:LinkButton Font-Underline="false" ID="lnkSongs" Text="Music" CssClass="simple"


runat="server"></asp:LinkButton>

</td>

No comments:

Post a Comment