如何使用C#在html代码中动态设置字体大小?

问题描述:

我将尝试动态设置字体颜色,以使用c.

i will try to set font color dynamically to set the html code style write from code behind side using asp.net with c#

如果它是html控件,则使用asp.net来动态设置字体颜色,以便从背面编写代码.使用page.findcontrol

它是.net控件controlname.cssClass = somecss或controlname.attributs.add("style","color:red")
if it a html control use page.findcontrol
or
it is .net control controlname.cssClass = somecss or controlname.attributs.add("style","color:red")