tr chOff property
tr object
Definition and Usage
The chOff property sets or returns the offset of the alignment character of the cells in a row.
The chOff property sets the number of content characters via the attribute/ch property character.
Syntax
Set the chOff property:
trObject.chOff="
px
|
%
"
Return the chOff property:
trObject.chOff
Tip: The chOff property has no default value.
| Value | Description |
|---|---|
| px | Defines a horizontal pixel offset |
| % | Defines the horizontal offset as a percentage of the object width. |
Browser support





All major browsers support the chOff property, but no major browser implements this functionality.
Example
Example
The "Savings" column aligns two characters from the right:
| Month | Deposit |
|---|---|
| January | $100.00 |
| February | $10.00 |
Note:Not all major browsers support the function of the choff property.
Try it »
tr object