asp.net literal control bgcolor
asp.net, c#, css, webforms
Solution
Literal control means it doesn't output any surrounding tags. So include whatever tags you want in the .Text property of it and mark them appropriately.
E.g.
ltlFoo.Text = "<font style='background : orange;'>hello</font>";
Problem
How can I change the `bgcolor` and `font` of my `asp:Literal` control? Can you give me an example?