html label
-
hi there , is there any possibilty that i can apply a setting to a html label ... something like Label1.Font.Name = dl.SNameFont ??
-
hi there , is there any possibilty that i can apply a setting to a html label ... something like Label1.Font.Name = dl.SNameFont ??
Yes, but since Font is an immutable object (meaning it doesn't change once created) you have to create a new Font object and assign that as you cannot change a property on an existing font object. ColinMackay.net "Man who stand on hill with mouth open will wait long time for roast duck to drop in." -- Confucius "If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell
-
hi there , is there any possibilty that i can apply a setting to a html label ... something like Label1.Font.Name = dl.SNameFont ??
-
Just add it to the style property: Label1.Style.Add("font-family", "Verdana,Arial,Helvetica,sans-serif"); --- b { font-weight: normal; }
-
hi there , is there any possibilty that i can apply a setting to a html label ... something like Label1.Font.Name = dl.SNameFont ??
-
use the <asp:Label object of the web server control There you can change the font value that you need to. 1 line of code equals many bugs. So don't write any!! -- modified at 14:52 Wednesday 1st February, 2006