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.SelfClosingT agEnd);
output.Write(HtmlTextWriter.DefaultTabString + "</td>");


THANKS
RAGHU


Six faces rule the world

*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***