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

This thread has been viewed 2471 times.

All times above are in ranch (not your local) time.
The current ranch time is
Jan 22, 2018 05:41:17.