TOC PREV NEXT INDEX

domref



width


width specifies the desired width of the table.

Syntax

table.width = width
 
width = table.width
 

Parameters

width is a string representing the width in number of pixels or as a percentage value.

Example

mytable.width="75%"
 

Notes

None.

Specification

width

createTHead()


createTHead() creates a new THEAD for the table.

Syntax

th = table.createTHead()
 

Parameters

th is an HTMLElement.

Example

myhead = mytable.createTHead();
 
//checking:
 
myhead == mytable.tHead
 

Notes

If the element already exists on the table, then this method returns that element

Specification

createTHead()


Netscape Communications
http://developer.netscape.com
TOC PREV NEXT INDEX