Page 1 of 1

Problem with HTML component line break.

Posted: Wed Apr 16, 2014 5:19 pm
by GodSpeed JP1

Hi,
I have a HTML component which width=100% height=100%,
I set some text just like below in to the HTML component,
/////////// html code ////////
abadjflajflkdafjlkajflajflalfjalfjaljflsadfljsdafljasdlfsdlfljfljflsdjfljsd&ltbr /&gt
abadjflajflkdafjlkajflajflalfjalfjaljflsadfljsdafljasdlfsdlfljfljflsdjfljsd&ltbr /&gt
abadjflajflkdafjlkajflajflalfjalfjaljflsadfljsdafljasdlfsdlfljfljflsdjfljsd&ltbr /&gt
/////////////////////////////////////
The content in HTML component can't auto line break.And display a horizontal scroll bar.
How to make the HTML component can fit the page just like label?

Image


Problem with HTML component line break.

Posted: Wed Apr 16, 2014 6:01 pm
by Maryna Brodina

Hello!

For this component add CSS property:
preoverflow-wrap: break-word;/pre


Problem with HTML component line break.

Posted: Thu Apr 17, 2014 1:30 am
by GodSpeed JP1

Thank you Maryna,it works like a charm.