You are here: Reference > HTML > attributes > chOff (col, tbody, td, tr, ...)

charOff attribute | chOff attribute (col, tbody, td, tr, ...)

Browser support:
Sets the horizontal offset of the ch and char attributes. The direction of the offset is the same as the direction of the text (dir attribute).
There isn't any functionality implemented for these attributes in commonly used browsers. For detailed technical information, visit the HTML 4.01 specification (W3C) site.
JavaScript page for this attribute: chOff. You can find other example(s) there.

Possible values:

Sets the horizontal offset of the alignment character.
One of the following values:
offset in pixel
Signed integer with or without a px (pixel) designator.
offset in percentage
Floating-point number with % designator. The offset is the signed percentage of the width of the object.
Default: this attribute has no default value.

Example HTML code 1:

This example illustrates the use of the charOff and chOff attributes, but they have no effect in browsers:
<table border="1px">
        <col />
        <col align="char" ch="." char="." chOff="20px" charOff="20px"/>
Did you find this example helpful? yes no

Supported by tags:

Related pages:

External links:

User Contributed Comments

Post Content

Post Content