TextColor

shlvy

Regular
Joined
Oct 27, 2003
Messages
68
Hi
I want to change the color of the Text.
I mean to the text ' Click to edit '
How can i do it?

<asp:LinkButton
Text="Click to edit"
CommandName="edit"
Runat="Server" />
Thank's.
 
You could add a ForeColor attribute to the tag like
Code:
<asp:LinkButton Text="Click to edit" CommandName="edit" Runat="Server" ForeColor="#0000C0"/>
or you may want to look at CSS as an alternative and more managable method.
 
Hi
Thank's for your reply, another lasr queastion.
Can i input a button instead of theText.
Thank's.
 
Back
Top