text-align-02-b

raster image of text-align-02-b

Test the 'baseline-shift' property (horizontal).

This three lines test property 'baseline-shift'. The first line tests 'baseline-shift:7' (i.e., a length for 'baseline-shift'). The red text should shift upward by 7 pixels. The second line tests 'baseline-shift:-70%' (i.e., a percentage for 'baseline-shift'). The red text should shift downward by 70% of the 'font-size'. The third line tests the three keywords 'sub', 'super' and 'normal'. You should see a subscript, superscript and return to normal.