Resize: textarea
CSS3 module allows to resize a textarea . The browser support as of Firefox 4 and Safari 3. By default, webkit browsers and Firefox 4 allow to resize the textarea both in vertically and horizontally.
HTML:
<textarea name="elem" id="elem" rows="5" cols="50"></textarea>
Syntax: css
textarea {
-moz-resize: vertical;
-webkit-resize: vertical;
resize: vertical;
}
Possible Values
CSS3 module allows to resize a textarea . The browser support as of Firefox 4 and Safari 3. By default, webkit browsers and Firefox 4 allow to resize the textarea both in vertically and horizontally.
HTML:
<textarea name="elem" id="elem" rows="5" cols="50"></textarea>
Syntax: css
textarea {
-moz-resize: vertical;
-webkit-resize: vertical;
resize: vertical;
}
Possible Values
- both: Resize vertically and horizontally
- horizontal: Limit resizing to horizontally
- vertical: Limit resizing to vertically
- none: Disable resizing
No comments:
Post a Comment