align attribute is set to
"char", and the
has been set to a character—thus telling the browser that cell contents
should be aligned to a given character—the
attribute is used to set a character offset. If a
charoff figure of
"2" is chosen,
as shown in the example HTML, the browser should align the cell contents
two characters to the right of the specified character. If
charoff were a negative value,
"-2" for example, the alignment should be offset two
characters to the left of the specified character. Note that there are a
few uses of the word “should” in this paragraph, which should
(there we go again) give you a hint about what to expect in the
compatibility section for this attribute!
In the example the
charoff is set to
<table border="1"> <colgroup align="char" char=":" charoff="2"> <col/> <col/> </colgroup> <colgroup align="char" char="%" charoff="2"> <col/> <col/> </colgroup> ⋮ </table>
This attribute takes an integer value, which can be positive or negative.
This attribute is poorly supported and should not be relied upon.