vAlign property
String
get
vAlign
The vAlign
property of the HTMLTableColElement interface is a
string indicating how to vertically align text in a table col
column
element.
Note: This property is deprecated, and CSS should be used to align text vertically in a column. Use the CSS property, which takes precedence, to vertically align text in each column cell instead.
As
td
are not children ofcol
, you can't set it directly on acol
element , you need to select the cells of the column using atd:nth-child(n)
or similar (n
is the column number).
Implementation
external String get vAlign;
set
vAlign
(String value)
Implementation
external set vAlign(String value);