Imagine a div with fixed dimensions that contains text content. If the text is too long, it overflows and "explodes" the div. On the other hand, if the text is too short, the div looks empty.
I think the solution would be to adjust the font size dynamically - make it bigger for short text and smaller for long text.
I have never attempted this before. Can anyone suggest how to achieve this without using jQuery or any other framework, as I am already using Dojo as my JS framework? Thank you in advance.