Hi,
How to move the cursor automatically to next line when it exceeds 50 characters.Thank you
How to move the cursor automatically to next line when it exceeds 50 characters.Thank you
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Mukil VendhanPosted Aug 17, 2017, 11:28 AM
You should do two things. Use the css property
'white-space: no wrap'and nest the stylized letters within a single span. Here's the updated fiddle http://jsfiddle.net/cH5tN/44/EDIT:
Also, you should avoid non-breaking spaces, just use a space unless there's a specific reason you wouldn't want the text to break on a particular space.
Rajkiran SwainPosted Aug 17, 2017, 10:21 AM
AshokPosted Aug 17, 2017, 9:20 AM
Jayant RajwaniPosted Aug 17, 2017, 9:17 AM
because breaking line every 50 words may cause a lot of errors in code
so just turn on word wrap
AshokPosted Aug 17, 2017, 8:37 AM
Jayant RajwaniPosted Aug 17, 2017, 8:21 AM