国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

How can Textarea in JAVA achieve line wrapping beyond a certain width?
PHP中文網(wǎng)
PHP中文網(wǎng) 2017-05-17 10:06:49
0
2
820

Assuming that the Textarea is set to a fixed width of 100,
How to implement the automatic line change when the text width exceeds 100?
The problems encountered on Baidu are all solved using JTextarea, which is not what I want.

PHP中文網(wǎng)
PHP中文網(wǎng)

認(rèn)證高級PHP講師

reply all(2)
某草草

I don’t understand your question. Why do the textareas I use automatically wrap lines? If the scroll bar appears because it is too long, just use overflow-x:hidden and overflow-y:hidden to hide the scroll bar
This is my textarea, set the length and width, and it will automatically wrap. Or do you not want to use the actual length and width of the textarea to limit line breaks? If this is the requirement, adding span or p inside will solve the problem

巴扎黑

It should be JavaScript

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template