TextFit v0.1
TextFit is a simple piece of javascript that allows you to fill almost entirely a containing element with text.
Usage
textFit(elementToScale, minFontSize, maxFontSize,
maxWidth, maxHeight);
License
TextFit is released under an MIT style license. The terms for which are outlined here. TextFit is © 2007 Andrew Gwozdziewycz.
Download and see an Example
- Source: textfit.js(< 1KB!)
- Example: textfit.html
