HTML tfoot charoff property
Examples
. "" The <tfoot> element in the content and character to the right-aligned position of the two characters:
<table border="1"
width="100%">
<tr>
<th>Month</th>
<th>Savings</th>
</tr>
<tr>
<td>January</td>
<td>$100</td>
</tr>
<tr>
<td>February</td>
<td>$80</td>
</tr>
<tfoot align="char" char="." charoff="2">
<tr>
<td>Sum</td>
<td>$180.00</td>
</tr>
</tfoot>
</table>
<tr>
<th>Month</th>
<th>Savings</th>
</tr>
<tr>
<td>January</td>
<td>$100</td>
</tr>
<tr>
<td>February</td>
<td>$80</td>
</tr>
<tfoot align="char" char="." charoff="2">
<tr>
<td>Sum</td>
<td>$180.00</td>
</tr>
</tfoot>
</table>
try it"
Browser Support
Almost all of the major browsers do not support charoff property.
Definition and Usage
HTML5 does not support <tfoot> charoff property.
Attribute specifies charoff <tfoot> element content aligned relative to the offset specified by the char attribute characters.
Only when the align attribute set to "char" char property and set to use charoff property.
grammar
<tfoot charoff="number">
Property Value
值 | 描述 |
---|---|
number | 规定对齐方式。 正数规定向字符的右边对齐。 负数规定向字符的左边对齐。 |
HTML <tfoot> tag