THEADNN n/a   IE 4   DOM 1

The THEAD object reflects the THEAD element. Note that the following items are not available in the Macintosh version of Internet Explorer 4: innerHTML, innerText, and outerText properties; insertAdjacentHTML( ) and insertAdjacentText( ) methods; the rows[] collection.

 
HTML Equivalent
<THEAD>
 
Object Model Reference
IE [window.]document.all.elementID
alignNN n/a   IE 4   DOM n/a
 Read/Write
 

Defines the horizontal alignment of content within all cells contained by the THEAD element.

 
Example
document.all.myTHEAD.align = "center"
 
Value
Any of the three horizontal alignment constants: center | left | right.
 
Default left
bgColorNN n/a   IE 4   DOM n/a
 Read/Write
 

Background color of the cells contained by the THEAD element. This color setting is not reflected in the style sheet backgroundColor property in Internet Explorer. Even if the BGCOLOR attribute or bgColor property is set with a plain-language color name, the returned value is always a hexadecimal triplet.

 
Example
document.all.myTHEAD.bgColor = "yellow"
 
Value
A hexadecimal triplet or plain-language color name. See for acceptable plain-language color names.
 
Default Varies with browser and operating system.
vAlignNN n/a   IE 4   DOM 1
 Read/Write
 

The manner of vertical alignment of text within the cells contained by the THEAD element.

 
Example
document.all.myTHEAD.vAlign = "baseline"
 
Value
Case-insensitive constant (as a string): baseline | bottom | middle | top.
 
Default middle
rows[ ]NN n/a   IE 4   DOM n/a

An array of all rows contained by the THEAD element.

 
Syntax
document.all.myTHEAD.rows(i).objectPropertyOrMethod