td/th ch property
td/th object
Definition and Usage
The ch property sets or returns the alignment character of the cell.
The content alignment of all cells in the same column depends on this character.
Syntax
Set the ch property:
tdObject.ch="
text
"
or
thObject.ch="
text
"
Return the ch property:
tdObject.ch
or
thObject.ch
Tip The property property has no default value.
Browser support





All major browsers support the ch property. However, no major browser implements the function of this property.
Example
Example
Align the "Savings" column using the "." character:
| Month | Deposit |
|---|---|
| January | $100.00 |
| February | $10.00 |
Note:Not all major browsers support the char property.
Try it »
td/th object