Calculate font-size of tags automatically