pls help : font name not applied

R

Raghu Raman

Hi

i created a sample web custom control in asp.net but when i tried to set
the font properties for the text box , it is not applied ,
pls help me what i missed .

code:

output.Write(HtmlTextWriter.DefaultTabString + "<td>");
output.WriteAttribute("name",this.UniqueID);
output.WriteAttribute("style","BORDER-RIGHT: 1px solid;

BORDER-TOP: 1px solid;FONT-WEIGHT:Bold ;FONT-FACE:Symbol ; BORDER-LEFT:
1px solid; WIDTH: " + base.BorderWidth +"; BORDER-BOTTOM: 1px solid;
HEIGHT: 20px ; size=17");

output.WriteAttribute("type","text");
output.WriteAttribute("value",txtext);
output.WriteLineNoTabs(HtmlTextWriter.SelfClosingTagEnd);
output.Write(HtmlTextWriter.DefaultTabString + "</td>");


THANKS
RAGHU


Six faces rule the world
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top