HTMLTableElement: width property
HTML DOM
HTML DOM
The HTMLTableElement.width property represents the
desired width of the table.
Value
A string representing the width in number of pixels or as a percentage value.
Examples
myTable.width = "75%";
HTML DOM
HTML DOM
The HTMLTableElement.width property represents the
desired width of the table.
A string representing the width in number of pixels or as a percentage value.
myTable.width = "75%";