制作不同颜色的文本框文本 [英] Make a text box text with different color
问题描述
大家好,
我在ASP.Net中开发一个应用程序,我必须在文本框中显示文本,文本框的文本应为50%红色和50%蓝色颜色。我怎么能帮忙呢?
谢谢和问候
Indrajit Dasgupta
Hi All,
I am developing a application in ASP.Net where I have to display text in a text box and the text of the text box should be 50% red color and 50% blue color. How can I make it please help?
Thanks & Regards
Indrajit Dasgupta
推荐答案
<asp:TextBox ID="txt1" runat="server" ForeColor="#7F7F00"></asp:TextBox>
#7F7F00
<无线电通信/>
颜色选择器的有用链接: http:// www.workwithcolor.com/hsl-color-picker-01.htm [ ^ ]
http:// www .december.com / html / spec / colorper.html [ ^ ]
http://www.colorpicker.com/ [ ^ ]
http://www.w3schools.com/tags/ref_colorpicker.asp [ ^ ]
#7F7F00
useful links for color picker : http://www.workwithcolor.com/hsl-color-picker-01.htm[^]
http://www.december.com/html/spec/colorper.html[^]
http://www.colorpicker.com/[^]
http://www.w3schools.com/tags/ref_colorpicker.asp[^]
请参阅以下与您的问题相关的链接: -
如何制作标签t不同的颜色?
http://forums.asp.net/t/1496916.aspx [ ^ ]
refer below link which is relevant to your question:-
how to make label text different color?
http://forums.asp.net/t/1496916.aspx[^]
>
这篇关于制作不同颜色的文本框文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!