It may be useful in tables
that contain financial information to align contents beyond the simple
"center" determinations. For example, you might align
numerical data to a decimal point, or some other symbol. The
char attribute allows you to define the character
against which data is aligned, but this only works if the
align attribute has also been set to
attribute is set to match the position of the % character:
<table summary="Interest Rates" width="400" border="1"> <caption>Interest Rates</caption> <thead> <tr> <th>Account Type</th> <th>Interest Rate (%)</th> </tr> </thead> <tbody align="char" char="%"> <tr> <td>Smart</td> <td>From 2%</td> </tr> <tr> <td>Young Saver</td> <td>From 1.6%</td> </tr> </tbody> </table>
This attribute takes as its value a single character that appears in the table, such as a decimal point character.
This attribute is poorly supported and should not be relied upon.
There are no comments yet.