This jQuery plugin calculates the available witdh for text in it's container and sets the CSS letter-spacing property so that the text uses all the available width
If the text is too wide for the container, the text is justified.
demo here : http://jsfiddle.net/webtiki/DPRr9/