td/th chOff property
td/th object
Definition and Usage
The chOff property sets or returns the offset of the alignment character of the cell.
Syntax
Set the chOff property:
tdObject.chOff="
px
|
%
"
or
thObject.chOff="
px
|
%
"
Return the chOff property:
tdObject.chOff
or
thObject.chOff
Tip: The chOff property has no default value.
| Value | Description |
|---|---|
| px | Defines a horizontal offset, in pixels. |
| % | Defines a horizontal offset using a percentage. |
Browser support





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