I have a page in which I’m reading names dynamically into a content area, in a certain displayed fashion. We have a few people whose names are extremely long, some names are 25 characters long, while most are around 12-13. How can I resize the text that I put into the div in an as-needed way?
Share
Set the font size according to the text length. You did not post any code so I can only assume how your HTML may look like.
This could be the JavaScript using jQuery.