TOC PREV NEXT INDEX

Put your logo here!


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()


mozilla DOM project | mailto:oeschger | bug 93108
TOC PREV NEXT INDEX