Name
COLS — NN all IE all HTML all
Synopsis
COLS=”columnCount"
Optional
The width of the editable space of the TEXTAREA
element. The value represents the number of monofont characters that
are to be displayed within the width. When the font size can be
influenced by style sheets, the actual width changes accordingly.
Example
<TEXTAREA COLS=40></TEXTAREA>
Value
Any positive integer.
Default
Varies with browser and operating system.
Object Model Reference
- IE
[window.]document.formName.elementName.cols
[window.]document.forms[i].elements[i].cols
[window.]document.all.elementID.cols
Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.