1 Reply Latest reply on Jul 27, 2006 8:38 AM by derobinson

    Styling dynamic text

    mariusvz Level 1
      Hi.

      Is it possible to change the colour of a section of dynamic text. Seems as I change the colour of a paragraph, the whole body changes colour... This works fine with static text. The only reason I need it dynamic is to make it scrollable.

      The text is not loaded from an external file, and its not for the internet.
      Thanx for any help!
      Marius
        • 1. Re: Styling dynamic text
          derobinson Level 1
          You can use the Dynamic Text variable (set the var name in the PI for your text box), set the text box to render HTML, then specify font colors in HTML when defining the variable:

          myText = "some text <font color='#CC0000'>some red text</font>";

          Hope that helps!