HTML slt;tbody sgt; charoff properties
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:
<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
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
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 slt;tbody.gt; tags