MDN wants to learn about developers like you: https://qsurvey.mozilla.com/s3/MDN-dev-survey

The HTMLTableElement.width property represents the desired width of the table.

Syntax

HTMLTableElement.width =
width;
var
width =
HTMLTableElement.width;

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

Example

mytable.width = "75%";

Specification

Document Tags and Contributors

 Contributors to this page: teoli, kscarfone, Sheppy, ethertank, RobG, Nickolay, Dria, JesseW
 Last updated by: teoli,