2 Replies Latest reply on Aug 23, 2007 8:35 AM by kcell

    Rich textbox , htmltext and font size

    kcell Level 2
      Hello,

      We are checking to use the rich textbox in our app and we found a problem with the font size, which acts different in a normal webbrowser and in in the rich textbox.

      In a html the font size="2" and we set it to the htmltext (of rich textbox), it is really displayed as font size ="2", but if we call the same html in a webbrowser (ie, firefox) it looks as expected.
      The html was created from a RTF string, where the font size is 12.

      So I am confused if the html is wrong or if I have to do something else in the rich textbox.

      Any help is appreciated,

      best regards,
      kcell

      Here is an example of the html:

      <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
      <html>
      <head>
      <title>Untitled document</title>
      <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
      </head>
      <body>
      <div align="left">
      <font face="MS Sans Serif" size="2" color="#000000"><b>Testtext</b></font></div>
      </body>
      </html>