[Logo]
Forums Register Login
Line break for a sentence without spaces
Hi ,

The display of a value is getting out of the screen whenever i type a long sentence without any spaces.
There is a possiblity that the user might enter the below sentence with comma & without any spaces.

Eg: The different type of fruits are Guava,Mango,Papaya,Banana,Orange,Grapes,Starwberry,....

Since the highlighted words is without any spaces the alignment goes beyond the fieldset.

I tried with options <p> </p> tag,line-break: strict style ,white-space:pre-wrap;

Could you please help me on this.


 
Rajesh Santhanakrishnan wrote:Hi ,



How many divs are there totoally? Why not have a horizontal scroll pane ? Or you are trying something else.


This may be a silly question, but...can you not just add spaces? If it's a sentence, it's conventional to have a space after the comma anyway.
Wink, wink, nudge, nudge, say no more ... https://richsoil.com/cards



All times above are in ranch (not your local) time.
The current ranch time is
Nov 20, 2017 03:06:06.