javascript TABLE cols
@Aug. 15, 2009, 12:25 p.m.
cols | Firefox/Netscape/NN n/a IE 4 Chrome/Safari/DOM 1 |
|
Read/Write |
Specifies the number of columns of the table. The corresponding IE-specific cols attribute assists the browser in preparation for rendering the table. Without this attribute, the browser relies on its interpretation of all downloaded tr and td elements to determine how the table is to be divided. You cannot change the column makeup of a table from this property, despite its read/write status. See also the col object. |
|
Example | |
document.getElementById("myTable").cols = 5; |
|
Value | |
Integer. |
|
Default | |
None. |
Permanent URL:
http://javascript.gakaa.com/table-cols.aspx
Powered by Linode.