I've got a div with fixed width and a quite long text. This long text is set to appear in
one line via white-space: no-wrap
. The problem is, that I can't figure out how to make the font size of this text fit into the div (without making breaks to the text). Could anyone help please?
Example layout:
<div style="width: 100px; max-width: 100px;">
<span style="white-space: nowrap">This is a too long text to normally fit in</span>
</div>