c# - Richedit control htmltext table formatting -


i using richeditcontrol in c#. want display table(html) in control. did want change font size , color of celltext, did not work :/

here 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; 

you can try use styles:

<td style=\"font-size:5px\"> 

Comments

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -