td/th Object
The chOff property sets or returns the horizontal offset of the ch property.
The chOff property sets the number of characters the content will be aligned from the character specified by the char attribute/ch property.
Set the chOff property:
Return the chOff property:
Tip: There is no default value for the chOff property.
| Value | Description |
|---|---|
| px | Defines the horizontal offset in pixels |
| % | Defines the horizontal offset in % of the width of the object |
![]()
The chOff property is supported in all major browsers. However, the functionality of this property is not implemented in any of the major browsers.
Align the "Savings" column two characters to the right from the "." character:
td/th Object
| WEB HOSTING |
|---|
| Best Web Hosting |
| PHP MySQL Hosting |
| Best Hosting Coupons |
| UK Reseller Hosting |
| Cloud Hosting |
| Top Web Hosting |
| $3.98 Unlimited Hosting |
| Premium Website Design |
| WEB BUILDING |
|---|
| XML Editor - Free Trial! |
| FREE Website BUILDER |
| Best Website Templates Top CSS Templates |
| CREATE HTML Websites |
| EASY WEBSITE BUILDER |
| W3SCHOOLS EXAMS |
|---|
|
Get Certified in: HTML, CSS, JavaScript, XML, PHP, and ASP |
| W3SCHOOLS BOOKS |
|---|
|
New Books: HTML, CSS JavaScript, and Ajax |
| STATISTICS |
|---|
|
Browser Statistics Browser OS Browser Display |
| SHARE THIS PAGE |
|---|