There is a div with a fixed height and width. This div contains dynamic content, text content. If the text gets too long, it will “blow” the div. And when the text gets too short, the div will look empty.
So my conclusion would be to make the font larger when the text is shorter and smaller when the text is long.
Never tried this, how to achieve this?
€: since I already use dojo, since the js framework, including jquery or any other structure, is not an option. Of course, thanks for the answers.
source share