|
-
Nov 20th, 2007, 01:56 AM
#1
Thread Starter
Addicted Member
Can change color for anchor link in content page
Hi friends
Can we change color for anchor link in content page.
I know we can do that in Normal HTML page.But i give class
name for anchor link and apply css for changing color
<a class ="gridlink" href="javascript:void(0);" onclick="ShowEditContact('divEditContact',this,event,'250','## DataItem.ClientId ##');"> Edit</a>
Css for my page
a.gridlink:link {
text-decoration:'underline';
color:Blue;
}
a.gridlink:visited {
color:Green;
font-style :italic;
}
/*a.gridlink:hover {
text-decoration:'underline';
color:Green;
}*/
a.gridlink:active {
color:Green;
font-weight:bold;
}
I hope reply would be appreciated
Thanks
Failing to plan is Planning to fail 
-
Nov 21st, 2007, 01:55 PM
#2
Hyperactive Member
Re: Can change color for anchor link in content page
You might want to try giving the gridview a cssClass, then in the stylesheet
Code:
.SomeGridView a {color:#000000;}
.SomeGridView a:hover {color: #ff00000;}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|