Hello
For example I have a div tag with long sting that string length is greater than one line:
<div>
qwekmlkmckskmkm lkmlcmdhuhjefuy bcvgdwelfjnfjev ljhjnfukfmkdfol ffneuwghqnnmlde lmkeienfbuyheuy tgpkrnbxhbybwij emncksmczmcigvk fmmfrkmfkcmsewl kfklcwehrunrjng t
</div>
browsers show it in one line with scroll,but I want to go to the next line when the sting arrive to the end of line.
how can i do it with java script?
For example I have a div tag with long sting that string length is greater than one line:
<div>
qwekmlkmckskmkm lkmlcmdhuhjefuy bcvgdwelfjnfjev ljhjnfukfmkdfol ffneuwghqnnmlde lmkeienfbuyheuy tgpkrnbxhbybwij emncksmczmcigvk fmmfrkmfkcmsewl kfklcwehrunrjng t
</div>
browsers show it in one line with scroll,but I want to go to the next line when the sting arrive to the end of line.
how can i do it with java script?
Comment