Javascript Reference
Categories: TD

javascript TD rowSpan

@July 30, 2008, 1:34 p.m.
rowSpan Firefox/Netscape/NN 6 IE 4 Chrome/Safari/DOM 1  
  Read/Write  

Specifies the number of rows through which the current table cell should extend itself downward. For each additional row included in the rowSpan count, one less td element is required for the next table row. If you set the vAlign property to middle, the alignment is calculated on the full height of the td element across the specified number of rows.

 
Example
 
document.getElementById("myTD").rowSpan = 12;
 
Value

Integer, usually 2 or larger.

 
Default

1


Powered by Linode.