puts height and width on text div