prathyusha

prathyusha

  • NA
  • 180
  • 74.4k

textbox styles

Jun 27 2013 7:07 AM
hi,

string sRet = "<table><tr><td valign='top' style='width: 150px;'><STRONG style='text-transform:capitalize; font-family:Georgia, Arial; font-size:10px; color:blue;'>" + sUser + " <img src='images/arrow_anim.gif' height='10px'/></STRONG></td><td style='width:200px; over-flow:scroll; line-height: 20px; ' align='left'><STRONG style='word-wrap:break-word; width: 200px; text-transform:capitalize; font-family:Georgia, Arial; font-size:10px; color:gray; font-weight:normal;'>" + ostr[0].ToString() + "</STRONG></td><td align='right' valign='bottom'><STRONG style='text-transform:capitalize; font-family:Arial; font-size:8px; color:#bababa; font-weight:normal;'>" + ostr[1].ToString() + "</strong></td></tr></table>";

return  sRet ;
when i apply to this textbox the styles are not applyed to text.

how can i apply the styles for textbox data in runtime .

please help me

Answers (6)