2 Replies Latest reply on Jun 10, 2010 9:59 PM by Peter K Rockey

    adding a new line after the image tag in htmlText field

    Peter K Rockey

      Hi,

       

      I facing a problem with htmlText field. When I insert image along with text, text continues to wrap at the right side of the image, and not under the image. It might create some visual problem

       

      Here is my code:

       

      myText.html=true;

      myText.htmlText="<p><img src='images/photo.jpg'  width='500' height='250' /><br> This text need to display as new line </p>"

       

      If there is solution for this, without adding more <br> tags.

       

      Thanks

      Peter