javascript - Break long text -
I have a div that has a width of 200px. I is not showing the horizontal scroll bar now if any 200 pixel value If you type more any type, it is just hidden, I am thinking that if each word can reach a 200 pixel length automatically it can put a new tag?
Thank you for your time.
You can use it on
WORD-BREAK: break-all By using simple CSS you can get it. & Lt; Div style = "width: 200px; word-break: break-all" & gt; The content goes here & lt; / Div & gt;
Hope you wanted this ...
Comments
Post a Comment