Firefox Tomorrow

web api instance property

HTMLTableElement: width property

View on MDN ↗

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%";

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.