我们的志愿者还没有将这篇文章翻译为 中文 (简体)。加入我们帮助完成翻译!
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
- W3C DOM 2 HTML Specification HTMLTableElement .width