align property

String get align

The align property of the HTMLTableColElement interface is a string indicating how to horizontally align text in a table col column element.

Note: This property is deprecated, and CSS should be used to align text horizontally in a column. Use the CSS property, which takes precedence, to horizontally align text in a column instead.

As td are not children of col, you can't set it directly on a col element, you need to select the cells of the column using a td:nth-last-child(n) or similar (n is the column number, counting from the end).

Implementation

external String get align;
set align (String value)

Implementation

external set align(String value);