TextArea fixed size and no drag in the browser

Source: Internet
Author: User

HTML tags textarea in most browsers, specifying the row (rows) and column (COLS) properties allows you to specify the size of the textarea, but the size does not change, but a better approach is to use the height and width properties of the CSS, but CHROME,SAF Ari and Firefox render different effects, you can drag the lower right corner of the icon to change the size. However, excessive drag size can affect the layout of the page and make the page look ugly. You can disable dragging by adding the following two styles, fixed size:

1: Completely disable drag (recommended)

Resize:none;

2: Just fixed size, the drag icon in the lower right corner is still in

width:200px;

height:200px;

max-width:200px;

max-height:200px;

TextArea fixed size and no drag in the browser

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.