BalanceText : jQuery plugin for implementing balancing of Wrapping Text

    BalanceText : jQuery plugin for implementing balancing of Wrapping Text

    A jQuery plugin to provide an alternate text wrapping algorithm. I hope to get this into the CSS spec, so it’s implemented as a polyfill.

    The default text rendering algorithm is:

    1. Add 1 word at a time to the current line until the next word won’t fit.
    2. Break text so that the next word starts on a new line.
    3. Repeat until all text has been rendered.

    Leave a Reply