charOff attribute | chOff attribute (col, tbody, td, tr, ...)
charOff: | ||||||
chOff: |
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:
Signed integer with or without a px (pixel) designator. | |||||||
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"> <colgroup> <col /> <col align="char" ch="." char="." chOff="20px" charOff="20px"/> </colgroup> <tbody> <tr> <td>Apple</td> <td>$5.50</td> </tr> <tr> <td>Pear</td> <td>$10.50</td> </tr> </tbody> </table> |
||||
|
||||
Did you find this example helpful?
|
Supported by tags:
Related pages:
External links:
chOff (MSDN)
table-row properties (Mozilla Developer Center)
charOff (Safari Reference Library)
charOff (W3C)
table-row properties (Mozilla Developer Center)
charOff (Safari Reference Library)
charOff (W3C)
User Contributed Comments