HTMLTableElement: width-Eigenschaft
Deprecated
Avoid using this feature in new projects. Some table styling attributes have no effect. They are superseded by CSS. This feature may be a candidate for removal from web standards or browsers.>
Die HTMLTableElement.width-Eigenschaft repräsentiert die gewünschte Breite der Tabelle.
Wert
Ein String, der die Breite in Pixeln oder als Prozentwert darstellt.
Beispiele
js
myTable.width = "75%";
Spezifikationen
| Spezifikation |
|---|
| HTML> # dom-table-width> |