I modified the javascript so that the text would shrink AND grow to fit by adding the following line just before the while loop: $(element).css('font-size', 10000); // init to very large value....will shrink to fit.
I modified the javascript so that the text would shrink AND grow to fit by adding the following line just before the while loop:
$(element).css('font-size', 10000); // init to very large value....will shrink to fit.