HTML slt;tr?charoff property
When you use the char property to set which characters should be aligned relative to the lines in the web table, you can use the charoff property to set the alignment offset, as shown in the following example, which aligns the contents of the second and third lines in the table with the position of the "." character to the right:
Align the contents of the second and third lines with the position of the "." character to the right:
<tr>
<th>Month</th>
<th>Savings</th>
</tr>
<tr align="char" char="." charoff="2">
<td>January</td>
<td>$100.00</td>
</tr>
<tr align="char" char="." charoff="2">
<td>February</td>
<td>$10.00</td>
</tr>
</table>
Try it out . . .
Browser support
Almost all major browsers do not support charoff properties.
Definitions and usages
HTML5 does not support the charoff property.
The charoff property specifies the alignment offset of the content relative to the characters specified by the char attribute.
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 and tr;tags