html text box font issue

4 posts, 0 answers
  1. kid
    kid avatar
    14 posts
    Member since:
    May 2016

    Posted 12 Jul Link to this post

    Hi, Team 

     

      usiing html text box, the code as below:

      <TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Verdana" SIZE="10" COLOR="#000000" LETTERSPACING="0" KERNING="0">html testing</FONT></P></TEXTFORMAT>

    then will display the large font. does not support the font size?

     

     

    Regards

    Kid

  2. Stef
    Admin
    Stef avatar
    3036 posts

    Posted 12 Jul Link to this post

    Hi kid,

    The HtmlTextBox item has a support for certain text-formatting HTML tags and CSS attributes. Please check the list here and remove the unsupported markup from the HTML input.

    Regards,
    Stef
    Telerik by Progress
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. DevCraft banner
  4. kid
    kid avatar
    14 posts
    Member since:
    May 2016

    Posted 12 Jul in reply to Stef Link to this post

    Hi, Self

     

    using below html code, still display large font:

    <FONT FACE="calibr" SIZE="10" >html testing</FONT>

  5. Stef
    Admin
    Stef avatar
    3036 posts

    Posted 13 Jul Link to this post

    Hello kid,

    The Font tag's SIZE attribute can be a number between 1 and 7, where our recommendation is to use CSS instead and sizes in pixels e.g. a DIV, SPAN with font-family, font-size, font-weight CSS attributes.

    For more details, please check the HtmlTextBox item's overview.

    Regards,
    Stef
    Telerik by Progress
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top