GodSpeed JP1
Posts: 0
Joined: Thu Feb 27, 2014 1:23 pm

Problem with HTML component line break.

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

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Problem with HTML component line break.

Hello!

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

GodSpeed JP1
Posts: 0
Joined: Thu Feb 27, 2014 1:23 pm

Problem with HTML component line break.

Thank you Maryna,it works like a charm.

Return to “Issues”