only use one div to calculate the text dimensions