Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

colspan attribute | colSpan property

Sets or retrieves the number columns in the table that the object should span.

HTML 4.01 Specification, Section 11.2.6

 

Syntax

HTML<element colspan="p" ... >
JavaScript

p = object.colSpan

 

Property values

Type: Integer

the number of columns to span.

Standards information

Remarks

This property can be changed only after the page has been loaded.

Windows Internet Explorer 8 will only render tables up to 1000 columns. To force Windows Internet Explorer 7 rendering mode, see How Do I Take Advantage of the New Features in Internet Explorer 8.

See also

td
th

 

 

Show:
© 2015 Microsoft