Easy Tutorial
❮ Jsref Isfinite Number Dom Obj Video ❯

chOff Attribute


Definition and Usage

The chOff attribute sets or returns the offset of the alignment character in the row's cells.

The chOff attribute can set the number of content characters through the attribute/ch attribute character.

Syntax

Set the chOff attribute:

Return the chOff attribute:

Note: The chOff attribute has no default value.

Value Description
px Defines the horizontal pixel offset
% Defines the horizontal offset as a percentage of the object's width.

Browser Support

All major browsers support the chOff attribute; however, none of the major browsers implement this feature.


Example

Example

The "Savings" column is aligned two characters from the right:


❮ Jsref Isfinite Number Dom Obj Video ❯