Alternative for text positioning

No more dom required to calculate the font size.