HTML slt;tbody sgt; charoff properties

HTML tbody charoff attribute HTML slt;tbody.gt; tags

The charoff property in the element specifies the offset using the char property relative to a character alignment, refer to the following example:

Align the contents of the element with the position of the character "." to the right of the two characters:

<table border="1" width="100%">
<tr>
<th>Month</th>
<th>Savings</th>
</tr>
<tbody align="char" char="." charoff="2">
<tr>
<td>January</td>
<td>$100.00</td>
</tr>
<tr>
<td>February</td>
<td>$80.00</td>
</tr>
</tbody>
</table>

Try it out . . .

Browser support

HTML tbody charoff attribute HTML tbody charoff attribute HTML tbody charoff attribute HTML tbody charoff attribute HTML tbody charoff attribute

Note: Charoff properties are not supported by almost all major browsers.


Definitions and usages

HTML5 does not support the charoff property.

The charoff property specifies the alignment offset of the contents of the element relative to the characters specified by the char property.

The charoff property can only be used if the align property is set to "char" and the char property is set.


Grammar

<tbody charoff=" number ">

The property value

value describe
number Alignment is specified.
The positive specification is aligned to the right side of the character.
Negative regulations are aligned to the left side of the character.


HTML tbody charoff attribute HTML slt;tbody.gt; tags