Easy Tutorial
❮ Prop Search Required Jsref Setutcfullyear ❯

td/thchOff Attribute


Definition and Usage

The chOff attribute sets or returns the offset of the alignment character for the cell.

Syntax

Set chOff attribute:

Return chOff attribute:

Note: The chOff attribute has no default value.

Value Description
px Defines the horizontal offset in pixels
% Defines the horizontal offset in percentage

Browser Support

All major browsers support the chOff attribute, however, no mainstream browsers implement the functionality of this attribute.


Example

The "Savings" column is aligned two characters to the right of the ".":


❮ Prop Search Required Jsref Setutcfullyear ❯