HTMLTableCellElement:chOff 属性

已弃用: 不再推荐使用该特性。虽然一些浏览器仍然支持它,但也许已从相关的 web 标准中移除,也许正准备移除或出于兼容性而保留。请尽量不要使用该特性,并更新现有的代码;参见本页面底部的兼容性表格以指导你作出决定。请注意,该特性随时可能无法正常工作。

HTMLTableCellElement 接口的 chOff 属性什么都不做,它反映单元格元素的 charoff 属性。

备注: 此属性旨在支持将表格单元格内容对齐到特定字符(通常是小数点),但浏览器从未实现过。

要实现这种对齐,请注意 text-align CSS 属性对字符串值的支持。

一个数字。

规范

Specification
HTML
# dom-tdth-choff

浏览器兼容性

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
chOff
Deprecated

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
Deprecated. Not for use in new websites.

参见