Back to Content

HTMLTableColElement: ch property

files/en-us/web/api/htmltablecolelement/ch/index.md

latest666 B
Original Source

{{APIRef("HTML DOM")}}{{deprecated_header}}

The ch property of the {{domxref("HTMLTableColElement")}} interface does nothing. It reflects the char attribute of the {{HTMLElement("col")}} element.

[!NOTE] This property was designed to participate to the ability to align table cell content on a specific character (typically the decimal point), but was never implemented by browsers.

To achieve such alignment, watch for the support of a string value with the {{cssxref("text-align")}} CSS property.

Value

A single character.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also

  • {{cssxref("text-align")}}