When the textmode of textbox is multiline, the solution for reading the page frame is large!

Source: Internet
Author: User

First, let's take a look at this link. The page appears as a scroll bar and the page is large. This is what we don't want to see!

Http://www.cnblogs.com/tuyile006/archive/2006/05/07/393254.html

When the textbox is set to multiple rows, if too much input content is entered, the table will be supported in the foreground, which is indeed a little annoying!

This is not a big question. I think it is necessary to discuss the solution.

When we want to implement textbox to implement multiple rows, we need to set textmode to multiline. If we want to implement automatic line feed, we need to set wrap to true, then we will lose

When data is imported, the new line can be automatically wrapped in the textbox. When we display the entered data, it is possible that the above link makes the page large;

The solution is as follows: add style = "word-break: Break-all" to the <TD> tab at the front end, then everything is OK.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.