0

I am using richeditcontrol in C#. I want to display a table(html) in this control. I did it but now I want to change font size and color of celltext, it did not work :/

Here is my code:

String htmlBilgi = "<table><tbody style=color:purple>";
htmlBilgi += "<tr><td font:5px>Ad</td><td>Deniz</td><td>Soyad</td><td>Eliacik</td></tr>";
htmlBilgi += "<tr><td>MEslek</td><td>Ogretmen</td><td>Yas</td><td>28"</td></tr>";
htmlBilgi += "</tbody></table>";
recBilgi.HtmlText = htmlBilgi;
Soner Gönül
  • 97,193
  • 102
  • 206
  • 364
user983924
  • 395
  • 2
  • 10
  • 23

1 Answers1

0

You can try to use styles:

<td style=\"font-size:5px\">
Donatas K.
  • 866
  • 8
  • 9