HTML tag textarea In most browsers, as long as the rows and columns are specified, the size of textarea can be specified, and the size will not change. However, a better way is to use the height and width properties of CSS. However, the rendering effect of Chrome, Safari and FireFox is different. You can drag the icon in the lower right corner to change the size. However, excessive dragging of the size will affect the page layout and make the page unsightly. You can disable drag by adding two styles below.Fixed size:
1: Disable drag completely (recommended)
resize: none ;
|
2: Just fixed size, the drag icon in the lower right corner is still there
width : 200px ;
|
height : 100px ;
|
max-width : 200px ;
|
max-height : 100px ;
|
3: Browser information:
Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.218 Safari/535.1
Reprinted:/s/blog_7a3173230100u1o8.
html