Text alignment with text-align=<string>
Specifying <string> on <table> aligns the position of specified letters, such as a decimal point. The entire string defaults to being right-aligned. If you add -ah-text-align-string, you can also specify left-aligned or centered text.
'text-align' and -ah-text-align-string are unset
ABC
|
100
|
0.0
|
AAA.BBB
|
100000000
|
0.0001
|
AAA.BBBCCCC
|
100000000.12345
|
9990.0001
|
'text-align: '.';' and -ah-text-align-string is unset
ABC
|
100
|
0.0
|
AAA.BBB
|
100000000
|
0.0001
|
AAA.BBBCCCC
|
100000000.12345
|
9990.0001
|
text-align: '.'; and -ah-text-align-string: start;
ABC
|
100
|
0.0
|
AAA.BBB
|
100000000
|
0.0001
|
AAA.BBBCCCC
|
100000000.12345
|
9990.0001
|
text-align:'.'; and -ah-text-align-string: center;
ABC
|
100
|
0.0
|
AAA.BBB
|
100000000
|
0.0001
|
AAA.BBBCCCC
|
100000000.12345
|
9990.0001
|
text-align: '.'; and -ah-text-align-string: end;
ABC
|
100
|
0.0
|
AAA.BBB
|
100000000
|
0.0001
|
AAA.BBBCCCC
|
100000000.12345
|
9990.0001
|
text-align: '.'; and -ah-text-align-string: inside;
ABC
|
100
|
0.0
|
AAA.BBB
|
100000000
|
0.0001
|
AAA.BBBCCCC
|
100000000.12345
|
9990.0001
|